예제 #1
0
        public TcpServerTests()
        {
            _serverAddress = new IPEndPoint(new IPAddress(new byte[] {127, 0, 0, 1}), 9123);
            // _serverAddress = new IPEndPoint(IPAddress.Any, 9123);

            _server = new TcpServer(_serverAddress, new MockProcessor());
            _server.StartListening();
        }