/** * Stop listing on the port. Stops the server thread. */ public void stopListening() { if (serverThread != null) { serverThread.stopServer(); } serverThread = null; started = false; }
/** * Stop listing on the port. Stops the server thread. */ public void stopListening() { if (serverThread != null) { serverThread.stopServer(); } serverThread = null; started = false; }
/** * Stop listing on the port. Stops the server thread. */ public void stopListening() { if (serverThread != null) { serverThread.stopServer(); } serverThread = null; started = false; }