Beispiel #1
0
        public UDPServer(int server_port)
        {
            //client_ep = new IPEndPoint(IPAddress.Parse(CLIENT_IP), CLIENT_PORT);
            //udpServer = new UdpClient(server_port);
            attestServer = new UdpClient(SERVER_ATTESTATION_PORT);
            updateServer = new UdpClient(SERVER_UPDATE_PORT);

            lipc = new LocalIPC(3005, 3006);
        }
Beispiel #2
0
        public UDPServer(int server_port, int recv_timeout)
        {
            //client_ep = new IPEndPoint (IPAddress.Parse (CLIENT_IP), CLIENT_PORT);

            attestServer = new UdpClient(SERVER_ATTESTATION_PORT);
            updateServer = new UdpClient(SERVER_UPDATE_PORT);
            //updateServer.Client.ReceiveTimeout = recv_timeout;

            lipc = new LocalIPC(3005, 3006);
        }