ComponentSpace Proxy Class Library Reference

Socks4Client Constructor (String, Int32)

Initializes a new instance of the Socks4Client class with the specified proxy server address and port. The address can either be the name of the server (eg. www.myproxy.com) or its IP address (eg. 66.210.153.10).

[Visual Basic]
Overloads Public Sub New( _
   ByVal proxyAddress As String, _
   ByVal proxyPort As Integer _
)
[C#]
public Socks4Client(
   string proxyAddress,
   int proxyPort
);

Parameters

proxyAddress
The proxy server address (eg. 66.210.153.10 or www.myproxy.com).
proxyPort
The proxy server port number.

Remarks

The SOCKS 4 protocol is used.

See Also

Socks4Client Class | ComponentSpace.Proxy.Socks4 Namespace | Socks4Client Constructor Overload List