Beispiel #1
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     //for(int i = 92; i < 122; ++i)
     {
         //mClient = new Client2("192.168.1." + i, MasterPingHndl, MasterMgsPing, false);
         mClient = new Client2("127.0.0.1", MasterPingHndl, MasterMgsPing, false);
         mClient.ConnectWR();
     }
 }
Beispiel #2
0
 public bool MasterPingHndl(byte[] buf)
 {
     mClient.Close();
     mClient = null;
     return(false);
 }