[kaffe] IP address autodetection

Matthew Toseland toad at amphibian.dyndns.org
Sun Feb 23 10:47:01 PST 2003


While trying to get freenet working on Kaffe, I discovered a side
issue... we use the attached code to detect the local internet IP
address. Basically, we open a datagram socket to the A-root nameserver
and call getLocalAddress(). This returns 0.0.0.0 on Kaffe CVS; any 
chance of fixing? Anything I can do to help?
-- 
Matthew Toseland
toad at amphibian.dyndns.org/amphibian at users.sourceforge.net
Full time freenet hacker.
http://freenetproject.org/
Freenet Distribution Node (temporary) at http://0.0.0.0:8889/HPhwJMG1iEE/
ICTHUS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: IPAddressDetector.java
Type: text/x-java
Size: 2142 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030223/06cf1625/attachment-0003.java 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://kaffe.org/pipermail/kaffe/attachments/20030223/06cf1625/attachment-0003.pgp 


More information about the kaffe mailing list