Few days ago I finished making my own (quite primitive) chat server with SocketServer. I haven't had any problems with it apart from the designing of the chat protocol: I made a very sketchy protocol for messaging. The client just sent unix-like commands to the server to do certain opperations:
connect <name> - connects the client to the chat room with this name
send <message> - pretty straight-foreward
who - who's online
Yesterday, I found out about this cool library called xmlrpc. It looks great, but I also want your suggestions.
What's the best, most flexible and easy to use protocol I could use for client/server communication.