As the title states I want your opinion. I am making a mutliplayer game to get better with java, and I am improving but I need your assistance. What do you think the best way to send a command from client to server? I was thinking output.write and placing a switch case on the server end. However with adding a chat feature this will end up causing problems. This being said, what do you guys think is the best way to proceed?