- TcpClient(string host, int port);
You can get the
NetworkStream from a
client.GetStream() and pass it into a
StreamReader/StreamWriter to gain access to their async read and write methods.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0