snz2

Results 2 comments of snz2

uWebsocket Server (proc2) ` var droppedCnt=0, droppedCnt2=0, doneCnt=0; var usp=uws.App().ws('/*', { idleTimeout:0, open:(ws)=>{ ws.subscribe('node'); }, message:async (ws, msg, isBinary)=>{ let data; try{ data=JSON.parse(Buffer.from(msg).toString()); let res=await db.get(data.query); // res is object...

I don't think the code function is not good in the GitHub editor ... I can't modify it. Anyway, the server side code is conceptually everything.