Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to find anyone when discovering hosts #45

Open
ghost opened this issue Nov 12, 2013 · 3 comments
Open

Not able to find anyone when discovering hosts #45

ghost opened this issue Nov 12, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2013

From felix.ne...@gmail.com on October 27, 2013 17:13:03

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: http://code.google.com/p/kryonet/issues/detail?id=44

@ghost
Copy link
Author

ghost commented Nov 12, 2013

From felix.ne...@gmail.com on October 27, 2013 09:14:42

Is there any way to edit the ticket? I forgot to remove the last lines.

@Hralien
Copy link

Hralien commented Nov 27, 2013

Some news/fix/tips about that problem?

@NathanSweet
Copy link
Member

Some routers block broadcasts. Also note it only works on a LAN with the same subnet.

@madpew
Copy link

madpew commented Nov 28, 2013

Also it might not work on WLAN, depending on the client-isolation-settings of the hotspot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

3 participants