SocketClient callback for Receive method

thank you, but looks like you dont understand the difference between low levele socket and websocket (Sorry I did not mean to offend you).
you suggest use websockets, but it is not my way, server writen with binary stream low level socket and works correctly, i dont want to write a lot of code to support WebSockets.

i also try to use Poco but there is problems with usage (no body knows how to use it) one, two

to understand me correct i try so explain:

  • between client and server i send Protobuf messages;

  • Protobuf gives me full controlled protocol;

  • Protobuf can be serialized to binary then i can send it to server via socket where this message will be deserialized;

  • with Protobuf i working with objects, not json;