I need to implement a TCP client that will send data to the server and also receive messages. The communication model should be asynchronously. Do you have a good example of doing this? Do i need to implement that on another thread ... that keeps constantly reading from the socket? ... or I can use the BeginReceive pattern of the socket?
Thanks, Radu