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

System.Net.Sockets.TcpClient.Connect Method

Resolves a fully qualified domain name to an IP address and connects to it on a specified port. [Edit]

public void Connect (string hostname, int port)

Parameters

hostname
The hostname, e.g. "www.myelin.co.nz". [Edit]
port
The port number 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