I have two programs that communicate with each other through TCP/IP by exchanging commands and data (connection is already successful). I'm looking for a protocol through which I can exchange commands (ASCII) and binary data (float,double,int,char,wchar_t, etc...).
Is there some standard for that, that I could use? or should I just invent my own protocol for exchanging stuff?
The program is written in C++ and Qt.