Initializes a new instance of the SocksListener class.
[Visual Basic]Overloads Public Sub New( _
ByVal Address As System.Net.IPAddress, _
ByVal Port As Integer, _
ByVal AuthList As Org.Mentalis.Proxy.Socks.Authentication.AuthenticationList _
)
[C#]
public SocksListener(
IPAddress Address,
int Port,
AuthenticationList AuthList
);
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.
- AuthList
- The list of valid login/password combinations. If you do not need password authentication, set this parameter to null.
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.
See Also
SocksListener Class | SocksListener Members | Org.Mentalis.Proxy.Socks Namespace | SocksListener Constructor Overload List