so there is a simple protocol

Qt Code:
  1. size //the socket knows, if all data is here
  2. whatfor //command
  3. data //the map f.e
To copy to clipboard, switch view to plain text mode 

Can u show me a common protocol for a QMap<QString,QString>, please.