Stats

165 Contributors: 6
2017-07-12
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook

Networking

Download c# eBook

Syntax

  • TcpClient(string host, int port);

Remarks

You can get the NetworkStream from a TcpClient with client.GetStream() and pass it into a StreamReader/StreamWriter to gain access to their async read and write methods.

Related Examples