Establishes a connection to a remote device.
Namespace: Jscape.Util.ProxyAssembly: Jscape.Ssh (in Jscape.Ssh.dll) Version: 2.7.2.0
Syntax
C# |
---|
public void Connect(
EndPoint remoteEP
) |
Visual Basic |
---|
Public Sub Connect ( _
remoteEP As EndPoint _
) |
Visual C++ |
---|
public:
void Connect(
EndPoint^ remoteEP
) |
Parameters
- remoteEP
- Type: System.Net..::..EndPoint
An EndPoint that represents the remote device.
Exceptions
Exception | Condition |
---|
System..::..ArgumentNullException | The remoteEP parameter is a null reference (Nothing in Visual Basic). |
System.Net.Sockets..::..SocketException | An operating system error occurs while accessing the Socket. |
System..::..ObjectDisposedException | The Socket has been closed. |
Jscape.Util.Proxy..::..ProxyException | An error occured while talking to the proxy server. |
See Also