ComponentSpace Proxy Class Library Reference

Socks4Client Constructor (String, Int32, Boolean)

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, _
   ByVal isSocks4A As Boolean _
)
[C#]
public Socks4Client(
   string proxyAddress,
   int proxyPort,
   bool isSocks4A
);

Parameters

proxyAddress
The proxy server address (eg. 66.210.153.10 or www.myproxy.com).
proxyPort
The proxy server port number.
isSocks4A
true if SOCKS v4A, false if SOCKS v4.

See Also

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