if you mean a bot as an an autonomous player, you don't need a server socket connected to the game client in your final code.


to figure out the protocol, you should have a server and client...