Removed test that took a manditory socket
This commit is contained in:
@@ -69,6 +69,7 @@ public class NetworkInterface {
|
||||
byte[] message = encoder.encode(new HostGamesRequest(games));
|
||||
System.out.println(LocalDateTime.now() + ": Sending " + games.size() + " game/s");
|
||||
for(ClientAddress address: clientsAddresses) {
|
||||
System.out.println("Sending to " + address.getIp());
|
||||
serverSocket.send(new DatagramPacket(message, message.length, InetAddress.getByName(address.getIp()), 4941));
|
||||
}
|
||||
} catch (InvalidMessageException | IOException e) {
|
||||
|
||||
Reference in New Issue
Block a user