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. [Edit]

public TcpClient (string hostname, int port)

Parameters

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

Remarks

Documentation for this section has not yet been entered. [Edit]

Requirements

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