IrcDiscovery.getPeers is permanently fail with PeerDiscoveryException if
InetAddress.getAllByName(server) return only one IP address.
To reproduce this situation try to use one of IP address (for examle
173.246.103.92) instead of IRC host name irc.lfnet.org.
I suppose to add break operation after successful connection:
connection.connect(new InetSocketAddress(ip, port), timeoutMsec);
It allow to skip excessive checking (ipCursor == ipCursorStart)
Original issue reported on code.google.com by pshma...@gmail.com on 18 Mar 2013 at 12:05
Original issue reported on code.google.com by
pshma...@gmail.com
on 18 Mar 2013 at 12:05