News for hackers. Stuff that matters.
Re:What happens when you make a move in lichess.org? by palata on Thursday October 24, 2024 @04:02AM (#41933199)
So you need to send a few bytes of information every few seconds, but you want to spam the network with UDP packets containing those few bytes?
Re:What happens when you make a move in lichess.org? by lomase on Thursday October 24, 2024 @04:57AM (#41933564)
Every single online multiplayer game that cares about latency reimplements a subset of HTTP over UDP.
Re:What happens when you make a move in lichess.org? by WJW on Thursday October 24, 2024 @06:39AM (#41934166)
Huh, that's not what I would expect at all. If you are having custom network protocols anyway, why deal with all the overhead that even a subset of HTTP brings? You might as well make an entirely new protocol at that point.
Re:What happens when you make a move in lichess.org? by lomase on Friday October 25, 2024 @04:06AM (#41943242)
Is TCP. Why everybody does it you ask?
Re:What happens when you make a move in lichess.org? by gs17 on Thursday October 24, 2024 @12:36PM (#41937154)
>reimplements a subset of HTTP over UDP.

TCP, although I like to imagine FPS games where shooting someone sends "DELETE /players/n00b HTTP/1.1" to the server.

Re:What happens when you make a move in lichess.org? by lomase on Friday October 25, 2024 @04:03AM (#41943233)
Yes TCP!!!!
Re:What happens when you make a move in lichess.org? by sokoloff on Thursday October 24, 2024 @05:45AM (#41933877)
Sure; why not? If I can stream videos on that same network for entertainment, or play another online, multiplayer game, why not use UDP if it gives a better user experience? It's not like UDP transport of those bytes is significantly worse network-wise and certainly lighter weight than those other alternatives.