More changes

main
Fan-Wu Yang 8 years ago
parent 22e9db473e
commit 34a803f92e

@ -27,6 +27,7 @@ public class MatchBrowserInterface {
public MatchBrowserInterface() { public MatchBrowserInterface() {
try {//132.181.16.13 is the ip of the CI as of 13/9/17 try {//132.181.16.13 is the ip of the CI as of 13/9/17
this.IPAddress = InetAddress.getByName("umbrasheep.com"); //InetAddress.getLocalHost(); this.IPAddress = InetAddress.getByName("umbrasheep.com"); //InetAddress.getLocalHost();
this.IPAddress = InetAddress.getByName("191.101.233.116"); //InetAddress.getLocalHost();
} catch (UnknownHostException e) { } catch (UnknownHostException e) {
e.printStackTrace(); e.printStackTrace();
} }

@ -45,7 +45,6 @@ public class MatchBrowserLobbyInterface extends Observable {
byte[] data = new byte[64]; byte[] data = new byte[64];
DatagramPacket receivedPacket = new DatagramPacket(data, 64); DatagramPacket receivedPacket = new DatagramPacket(data, 64);
System.out.println("waiting"); System.out.println("waiting");
System.out.println(socket.getInetAddress());
socket.receive(receivedPacket); socket.receive(receivedPacket);
System.out.println(receivedPacket); System.out.println(receivedPacket);

Loading…
Cancel
Save