On Tue, Nov 12, 2002 at 12:46:44AM +0000, Matthew Toseland wrote: > On Wed, Nov 06, 2002 at 06:10:04PM +0000, Alistair Phipps wrote: > > public Socket(InetAddress address, > > int port, > > InetAddress localAddr, > > int localPort) > > > > Could localAddr not just be InetAddress.getLocalHost()? Alternatively, > I doubt it, it would have to be on the same interface... > > perhaps InetAddress.getAllByName( "0.0.0.0" )[0] would work (using the > > IPv4 wildcard address).
I forgot to reply to this before. Binding to 0.0.0.0 does seem to work, but it wasn't implemented in kaffe, so I fixed that for them. However, the cvs version of kaffe is broken in other words, so for now I'm not happy about marrying our software to it. If this is really important to somebody, they can easily implement it themselves. -- Oskar Sandberg [EMAIL PROTECTED] _______________________________________________ devl mailing list [EMAIL PROTECTED] http://hawk.freenetproject.org/cgi-bin/mailman/listinfo/devl