Xceed .NET Libraries Documentation
SOCKS4ProxyClient Constructor(String,Int32)


Xceed.SSH.Client Assembly > Xceed.SSH.Client Namespace > SOCKS4ProxyClient Class > SOCKS4ProxyClient Constructor : SOCKS4ProxyClient Constructor(String,Int32)
A System.String that represents a parsable valid IPv4 address or host name hosting the Proxy service. If a host name is specified, the proxy must support the SOCKS4A protocol.
A System.Integer that represents the proxy server listening port number.
Creates a new SOCKS4ProxyClient for connecting to the specified SOCKS 4/4A proxy server host, using the specified port number.
Syntax
'Declaration
 
Public Function New( _
   ByVal hostName As String, _
   ByVal port As Integer _
)
'Usage
 
Dim hostName As String
Dim port As Integer
 
Dim instance As New SOCKS4ProxyClient(hostName, port)
public SOCKS4ProxyClient( 
   string hostName,
   int port
)

Parameters

hostName
A System.String that represents a parsable valid IPv4 address or host name hosting the Proxy service. If a host name is specified, the proxy must support the SOCKS4A protocol.
port
A System.Integer that represents the proxy server listening port number.
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

SOCKS4ProxyClient Class
SOCKS4ProxyClient Members
Overload List