Skip to content
Snippets Groups Projects
Commit b5332016 authored by terry-norbraten's avatar terry-norbraten
Browse files

sleep not required here

parent 1aa93c4d
No related branches found
No related tags found
No related merge requests found
......@@ -109,7 +109,6 @@ public class PduRecorder implements PduReceiver
disThreadedNetIF.addRawListener(bAndL -> {
receivePdu(bAndL.buff, bAndL.length);
});
sleep(250L); // need time for the send/receive threads to start
System.out.println(getClass() + " listening to IP address " + mcastaddr + " on port: " + port);
}
......@@ -309,11 +308,4 @@ public class PduRecorder implements PduReceiver
recorder.end();
}
private static void sleep(long ms)
{
try{
Thread.sleep(ms);}
catch(InterruptedException ex) {}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment