Xceed .NET Libraries Documentation
Connect(String,Int32) Method


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SSHClient Class > Connect Method : Connect(String,Int32) Method
A string representing the SSH server's address.
Connects the SSHClient to an SSH server, specifying the port number to use.
Syntax
'Declaration
 
Public Overloads Sub Connect( _

   ByVal serverAddress As String, _

   ByVal port As Integer _

) 
'Usage
 
Dim instance As SSHClient

Dim serverAddress As String

Dim port As Integer

 

instance.Connect(serverAddress, port)
public void Connect( 

   string serverAddress,

   int port

)

Parameters

serverAddress
A string representing the SSH server's address.
port
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SSHClient Class
SSHClient Members
Overload List