N
Nobody
Hi all,
I try to write a small client that can handle some TCP communication
message.
I was wondering how I could use the TcpClient class to manage it.
At the first time, I don't want to play with the async methods. My main
issue is related about receiving informations back from the server. How can
I be sure that the server has finished sending the response? Should I set a
read timeout and catch the exception when it times out? How large should be
my buffer? Any sample?
Thanks a lot in advance
I try to write a small client that can handle some TCP communication
message.
I was wondering how I could use the TcpClient class to manage it.
At the first time, I don't want to play with the async methods. My main
issue is related about receiving informations back from the server. How can
I be sure that the server has finished sending the response? Should I set a
read timeout and catch the exception when it times out? How large should be
my buffer? Any sample?
Thanks a lot in advance