Hi

I am doing a messaging application using Visual C++ window form application.

Sometimes I can't receive a whole message from the sender. If i type short sentence like "123456", it can be shown properly. But, if i type a quite long sentence like "12345678912345 6789", it can't shown a correct message, can't show exactly the whole message.

here is my code:

Code:
//transmission:
...