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

            TCPSend    = new TCPIPViewModel(myIP, 13000, myIP, 14000);
            TCPReceive = new TCPIPViewModel(myIP, 13000, myIP, 14000);
        }
Beispiel #2
0
 public TCPIPScreenViewModel(string myIP, int myPort, int port)
 {
     LocalIP    = "IP :" + myIP;
     TCPSend    = new TCPIPViewModel(myIP, myPort, myIP, port);
     TCPReceive = new TCPIPViewModel(myIP, port, myIP, myPort);
 }