Not code-specific, but I have a few questions about a simple game server for a 2d shooter:
-From what I understand, the Client's sockets should be non-blocking, as you you want the game to appear seamless with receiving updates.
Should the server be non-blocking too? Or since all it does it handle requests for info, etc. it's OK to have the server blocking and the client non-blocking, right?
-On the client, should I run the socket stuff in a separate thread? Or since it's going to be non-blocking is that unnecessary?