Stats

165 Contributors: 6 Wednesday, July 12, 2017
Licensed under: CC-BY-SA
Not affiliated with Stack Overflow
Rip Tutorial: riptutorial@gmail.com
Roadmap: roadmap
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