SocksListener Constructor (IPAddress, Int32)

Mentalis.org Proxy

Mentalis.org Proxy Documentation

SocksListener Constructor (IPAddress, Int32)

Initializes a new instance of the SocksListener class.

[Visual Basic]Overloads Public Sub New( _
   ByVal Address As System.Net.IPAddress, _
   ByVal Port As Integer _
)
[C#]
public SocksListener(
   IPAddress Address,
   int Port
);

Parameters

Address
The address to listen on. You can specify IPAddress.Any to listen on all installed network cards.
Port
The port to listen on.

Remarks

For the security of your server, try to avoid to listen on every network card (IPAddress.Any). Listening on a local IP address is usually sufficient and much more secure.The SocksListener object will not use an AuthenticationList.

See Also

SocksListener Class | SocksListener Members | Org.Mentalis.Proxy.Socks Namespace | SocksListener Constructor Overload List