nguyenvulebinh / kryonet

Automatically exported from code.google.com/p/kryonet
0 stars 0 forks source link

Not able to find anyone when discovering hosts #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Code:
Server server = new Server();
server.start();     
server.bind(17771, 5000);

Client client = new Client();
List<InetAddress> addresses = client.discoverHosts(17771, 5000);
System.out.print(addresses);

2. Run Code on two Computers which are in the same network
3. Both PCs are able to create, start and bind the servers (without any errors)
4. Both PCs print [] (Empty list). Also, when I press a refresh button (which 
executes 
"List<InetAddress> addresses = client.discoverHosts(17771, 5000);
System.out.print(addresses);"
after the Servers were created on both PCs) then I get a "[]" message again. No 
Hosts found...

Help is appreciated :)

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by felix.ne...@gmail.com on 27 Oct 2013 at 4:13

GoogleCodeExporter commented 9 years ago
Is there any way to edit the ticket? I forgot to remove the last lines.

Original comment by felix.ne...@gmail.com on 27 Oct 2013 at 4:14