The server code for Textmode multiplayer