0

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
etc

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.

Sincerely, n.utiu.

Edited by n.utiu: n/a

2
Contributors
2
Replies
3
Views
6 Years
Discussion Span
Last Post by n.utiu
0

It depends a lot of the application, and all of that.

But maybe a simple http server or json server in a peer to peer configuration should serve the task pretty good.

I''ve never tried xmlrpc servers, since I never felt the need to.

Cheers and Happy coding

0

It depends a lot of the application, and all of that.

But maybe a simple http server or json server in a peer to peer configuration should serve the task pretty good.

I''ve never tried xmlrpc servers, since I never felt the need to.

Cheers and Happy coding

Well I haven't used json yet, but I'll give it a try, looks simple. Thanks for the suggestions.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.