示例#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);
 }
示例#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);
 }