How to signify the end of a self-defined message in TCP programming?
TPC’s data transfer is based on stream. If the two sides don’t agree on how to detect the end of self-defined message, the receiver won’t know the boundary of a message. A simple way is to have a special character is the ending flag, such as "2 new lines". The problem is that the message …
How to signify the end of a self-defined message in TCP programming? Read More »