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

Stats

165 Contributors: 6
Wednesday, July 12, 2017
Licensed under: CC-BY-SA

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

Download eBook