in reply to Choosing a client/server protocol

And depending what you are going to be doing with this, the use of bitwise flags and a bin stream may be worthwhile. if the chatter is constant and has a lot of states you can fit a ton of information into bit flags.

-Waswas