Esempio n. 1
0
 static public bool OpenClient(string host, int port)
 {
     try
     {
         cl = new VisionClient(host, port, ClientOnConnect, ClientOnRecv, ClientOnDisconnect, 12288);
     }
     catch (Exception)
     {
         return(false);
     }
     return(true);
 }
Esempio n. 2
0
 public static bool OpenClient(string host, int port)
 {
     try
     {
         cl = new VisionClient(host, port, ClientOnConnect, ClientOnRecv, ClientOnDisconnect, 12288);
     }
     catch (Exception)
     {
         return false;
     }
     return true;
 }