Exemple #1
0
 public void stop() {
   if (Trace.trace) {
     Trace.info("UDP.stop()", "closing sockets and stopping threads");
   }
   stopThreads(); // will close sockets, closeSockets() is not really needed anymore, but...
   closeSockets(); // ... we'll leave it in there for now (doesn't do anything if already closed)
 }