Beispiel #1
0
        public ESRIServer(int _inputPort = 7891, int _broadcastPort = 7890)
        {
            inputPort = _inputPort;
            broadcastPort = _broadcastPort;

            //Initialize TCP Server
            tcpInputListener = new TCPListener(inputPort, this);
            tcpBroadcastListener = new TcpListener(IPAddress.Any, broadcastPort);

            broadcastClients = new List<TcpClient>();

            updates = new Queue<string>();
        }