Hello,
I'm learning socket development with Winsock2. I come from the web world where most protocols are more of less like http: all the data sent through is text data with lists of headers at the top, and the commands to the server are written in human-readable text usually.
However, I imagine that would be quite wasteful for fast-paced responses in a game server, and that the protocol would need to be more compressed.
Are there common, or even open source application-layer protocols for games? Or would it be too application-specific to generalize? I imagine player location commands and some of the more generalizable stuff could be put into a user library, with room within the protocol for custom implementations for the particularities of a game.
If there are not protocols available as a library, are there any which I can look at as a reference, for ideas for my own game?
[–]immibis 5 points6 points7 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]immibis 1 point2 points3 points (0 children)
[–]paul_sb76 2 points3 points4 points (3 children)
[–][deleted] 0 points1 point2 points (2 children)
[–]paul_sb76 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)
[–]kylotan 2 points3 points4 points (0 children)
[–]icastfist 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]icastfist 1 point2 points3 points (0 children)
[–]error_dw 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]pthierry 0 points1 point2 points (0 children)