Beispiel #1
0
 static public bool OpenServer(int port)
 {
     try
     {
         sv = new VisionServer(port, ServerOnConnect, ServerOnRecv, ServerOnDisconnect, 12288);
     }
     catch (Exception)
     {
         return(false);
     }
     svStat = SERVERSTAT.WAITP1;
     return(true);
 }
Beispiel #2
0
 public static bool OpenServer(int port)
 {
     try
     {
         sv = new VisionServer(port, ServerOnConnect, ServerOnRecv, ServerOnDisconnect, 12288);
     }
     catch (Exception)
     {
         return false;
     }
     svStat = SERVERSTAT.WAITP1;
     return true;
 }