String hostname = InetAddress.getLocalHost().getHostName();
InetAddress[] ips = InetAddress.getAllByName(hostname);

I used that long time ago, I hope it does what I think it should do...
(return some ip's, including the wanted one)


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to