Replies: 1 comment
-
Hi @rieniter it's intentional that the library not do that. The primary reason is that this library does not provide any form of framing, which would be necessary to indicate to the other side what the value of the If you need this kind of functionality I would recommend either A) creating your own data structure to wrap messages that indicates the type of message or a message identifier, or B) take a look at WatsonTcp, which provides integrated framing. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I suggest add more argument in sending/receiving feature, such as:
Send( ipPort, "key_a",data)
Receive("key_a", data)
key_a is an key string, so the client and server can have more multiple sending/receiving for easy manage
Currently, it's only simple Send(ipPort, data) and only 1 DataReceived event each client/server
Beta Was this translation helpful? Give feedback.
All reactions