Mono Class Library: System.Net.Sockets.TcpClient Overview | Members

System.Net.Sockets.TcpClient Constructor

Constructs a new TcpClient and connects to a specified host on a specified port. A quick way to set up a network connection.

public TcpClient (string hostname, int port)

Parameters

hostname
The host to connect to, e.g. "192.168.0.201" or "www.myelin.co.nz"
port
The port to connect to, e.g. 80 for HTTP

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: System.Net.Sockets
Assembly: System (in System.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0