DotMSN

ProxySocket.Connect Method (EndPoint)

Establishes a connection to a remote device.

[Visual Basic]
Overloads Public Sub Connect( _
   ByVal remoteEP As EndPoint _
)
[C#]
new public void Connect(
   EndPoint remoteEP
);

Parameters

remoteEP
An EndPoint that represents the remote device.

Exceptions

Exception Type Condition
ArgumentNullException The remoteEP parameter is a null reference (Nothing in Visual Basic).
SocketException An operating system error occurs while accessing the Socket.
ObjectDisposedException The Socket has been closed.
ProxyException An error Occurred while talking to the proxy server.

See Also

ProxySocket Class | Org.Mentalis.Network.ProxySocket Namespace | ProxySocket.Connect Overload List