Exemple #1
0
        public UDPScreenViewModel()
        {
            LocalIP = "IP :";
            string myIP = "192.168.0.1";

            UDPSend    = new UDPViewModel(myIP, 13000, myIP, 14000);
            UDPReceive = new UDPViewModel(myIP, 13000, myIP, 14000);
        }
Exemple #2
0
 public UDPScreenViewModel(string myIP, int myPort, int port)
 {
     LocalIP    = "IP :" + myIP;
     UDPSend    = new UDPViewModel(myIP, myPort, myIP, port);
     UDPReceive = new UDPViewModel(myIP, port, myIP, myPort);
 }