socks5.Socks5Server.Socks5Server C# (CSharp) Method

Socks5Server() public method

public Socks5Server ( IPAddress ip, int port ) : System
ip System.Net.IPAddress
port int
return System
        public Socks5Server(IPAddress ip, int port)
        {
            Timeout = 5000;
            PacketSize = 4096;
            LoadPluginsFromDisk = false;
            Stats = new Stats();
            OutboundIPAddress = IPAddress.Any;
            _server = new TcpServer(ip, port);
            _server.onClientConnected += _server_onClientConnected;
        }