예제 #1
0
파일: ESRIServer.cs 프로젝트: krembf/ESRI
        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>();
        }