In local.freenet, you wrote: > A cross-platform solution (though a kludgy one) would be to open up a > ServerSocket on > port n, then have a Socket open up a connection to localhost:n, then read the > IP with > Socket.getLocalAddress(). Will that work?
No. How are you going to guess whether I want the node to use eth0 or eth1 on my Linux machine? Or 192.168.1.1, 192.168.2.1, 192.168.3.1 or the only correct choice, which is my dynamic IP from yet another interface? -- Volker Stolz * vs at foldr.org * PGP + S/MIME _______________________________________________ Devl mailing list Devl at freenetproject.org http://lists.freenetproject.org/mailman/listinfo/devl
