예제 #1
0
        public HttpClient(ITcpServer server, Socket socket, TcpListener listener)
        {
            _server = server;
            _socket = socket;
            _listener = listener;
            _iIndex = _server.AddNewSocket(_socket, _listener);
            _stream = new NetworkStream(_socket, false);
            _RemoteEndPoint = (IPEndPoint)_socket.RemoteEndPoint;

            WriteLogNewConnection();
        }