ProxySocket.Connect Method (EndPoint)

Mentalis.org ProxySocket

Establishes a connection to a remote device.

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

Parameters

remoteEP
An EndPoint that represents the remote device.

Exceptions

Exception TypeCondition
System.ArgumentNullExceptionThe remoteEP parameter is a null reference (Nothing in Visual Basic).
System.Net.Sockets.SocketExceptionAn operating system error occurs while accessing the Socket.
System.ObjectDisposedExceptionThe Socket has been closed.
Org.Mentalis.Network.ProxySocket.ProxyExceptionAn error occured while talking to the proxy server.

See Also

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

ProxySocket.Connect Method (EndPoint)
Mentalis.org ProxySocket Documentation

ProxySocket.Connect Method (EndPoint)

Establishes a connection to a remote device.

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

Parameters

remoteEP
An EndPoint that represents the remote device.

Exceptions

Exception TypeCondition
System.ArgumentNullExceptionThe remoteEP parameter is a null reference (Nothing in Visual Basic).
System.Net.Sockets.SocketExceptionAn operating system error occurs while accessing the Socket.
System.ObjectDisposedExceptionThe Socket has been closed.
Org.Mentalis.Network.ProxySocket.ProxyExceptionAn error occured while talking to the proxy server.

See Also

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