Exemple #1
0
 public SOCKSServerSession(Socket s, SOCKS5Listener parent)
 {
     this.Client   = s;
     Parent        = parent;
     ConnectClient = new SocketClient();
     ConnectClient.DisconnectHandler   += new SocketEventHandler(ConnectClient_DisconnectHandler);
     ConnectClient.ReceiveHandlerBytes += new SocketReceiveHandler(ConnectClient_ReceiveHandlerBytes);
 }
Exemple #2
0
 public SOCKSServerSession(Socket s, SOCKS5Listener parent)
 {
     this.Client = s;
     Parent = parent;
     ConnectClient = new SocketClient();
     ConnectClient.DisconnectHandler += new SocketEventHandler(ConnectClient_DisconnectHandler);
     ConnectClient.ReceiveHandlerBytes += new SocketReceiveHandler(ConnectClient_ReceiveHandlerBytes);
 }