News for hackers. Stuff that matters.
Re:Play Counter-Strike 1.6 in your browser by edoceo on Friday June 12, 2020 @12:13PM (#23500662)
Use websocket in binary mode, pack operations into tiny messages.
Re:Play Counter-Strike 1.6 in your browser by redka on Friday June 12, 2020 @12:17PM (#23500709)
actually binary websockets won't do in this case since the underlying protocol is still TCP with automatic retransmission mechanism which kills performance for very fast-paced games. You have to use WebRTC in that case
Re:Play Counter-Strike 1.6 in your browser by Kiro on Friday June 12, 2020 @02:01PM (#23501876)
So there's no reason to use binary commands when using something like socket.io?
Re:Play Counter-Strike 1.6 in your browser by redka on Friday June 12, 2020 @02:33PM (#23502223)
not much but shaving off some bytes is good in itself