[kaffe] IP address autodetection

Helmer Krämer hkraemer at freenet.de
Sun Feb 23 12:56:02 PST 2003


On Sun, 23 Feb 2003 18:48:05 +0000
Matthew Toseland <toad at amphibian.dyndns.org> wrote:

Hi Matthew,

> 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?

it seems as if I've managed to fix this one (that is
your code is working fine here) and I'll provide a
patch early next week (I've got to do a test tomorrow
morning so I'd better quit hacking kaffe now ;)).

Greetings,
Helmer




More information about the kaffe mailing list