Created
October 16, 2016 15:21
-
-
Save xdom/6ea31a7637f6faf976cf2b4c851f0c28 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public synchronized void start() { | |
try { | |
final DatagramSocket socket = new DatagramSocket(port); | |
thread = new UDPServerThread(socket, processor); | |
thread.start(); | |
} catch (SocketException e) { | |
LOGGER.error("Unable to start server.", e); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment