Exemplo 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);
 }
Exemplo 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;
 }