ServerSocket serverSocket;
try {
serverSocket = new ServerSocket(_port);
} catch (Exception e) {
System.out.println("Unable to vend on port " + _port);
return;
}
while (true) {
try {
Socket socket = serverSocket.accept();
_sender.add(socket);
} catch (Exception ee) {
ee.printStackTrace();
}
}