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