示例#1
0
        public ClientHost(TcpClient client, ServerSide server)
        {
            _client        = client;
            _server        = server;
            _sw            = null;
            _sr            = null;
            _isConnected   = true;
            _requestsCount = 0;

            ++_server.CurrClCount;
        }
示例#2
0
 public ServerAuth(NetworkStream sw, StreamReader sr, ServerSide server)
     : base(sw, sr)
 {
     _server = server;
 }