nguyenvulebinh / kryonet

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

Discovery fix #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently discovery is not working if routing is not tuned manually. (Network 
is Unreachable exception)

Please implement loop over all available network interfaces to get proper 
broadcast addresses:

http://michieldemey.be/blog/network-discovery-using-udp-broadcast/

Original issue reported on code.google.com by olamedia on 17 Aug 2012 at 7:55

GoogleCodeExporter commented 9 years ago
I confirm that network discovery is not working properly.
Trying to execute on two Android devices connected via WiFi Direct.
Getting the same error, Network is unreachable exception.

olamedia,
the application I'm developing will always use the same route (WiFi Direct), is 
it possible for you to point me on how to "tune manually" to make it work?

Original comment by ronaldop...@gmail.com on 24 Sep 2012 at 10:11

GoogleCodeExporter commented 9 years ago
don't know anything about Android... My bug is living at Ubuntu. Also I didn't 
tried to fix network configuration. Instead i did own discovery thread class 
almost like in article.

Original comment by olamedia on 25 Sep 2012 at 2:53

GoogleCodeExporter commented 9 years ago
* Theres a lot of pages about this. Google 
https://www.google.com/search?q=Network+is+Unreachable+exception

Original comment by olamedia on 25 Sep 2012 at 2:54

GoogleCodeExporter commented 9 years ago
I believe it tries all interfaces now. Let me know, will reopen if not.

Original comment by nathan.s...@gmail.com on 6 Feb 2013 at 6:43