On Sun, Nov 24, 2002 at 02:22:10PM -0600, Timm Murray wrote: > On Sunday 24 November 2002 13:47, Peter Todd wrote: > > I just noticed that on both of my freenet nodes the main port can be > > accessed over ipv6! I set my node address to a domainname that has a > > ipv6 address attached to it as well as ipv4 and from the looks of it my > > node automatically bound itself to both. > > > > The nodes are: gw.petertodd.ca and gw.rjfleck.ca, both on port 19114 > > > > I'm using the Sun JDK version 1.4.1 > > It might just be translating the IPv6 address to IPv4 once it hits the > application layer. I believe native IPv6 requires entirely different classes > in the Java API.
Well usually when an app binds to a socket in the most "generic" way it gets both IPv6 and IPv4 support if it doesn't specify IPv4 only sockets, that's probably why when the node bound to 19114 it got both IPv4 and IPv6. The interesting thing is that Sun's JDK supported that. What I'd like to see is if outgoing connections have the same behavior. They do connect to nodes by hostname right? So if it's a hostname that has both IPv6 and IPv4 addresses that just might work. -- Need some Linux help or custom C(++) programming? Drop me a line and I'll see what I can do. Resume at http://www.petertodd.ca/resume.php pete at petertodd.ca http://www.petertodd.ca -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 232 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20021124/c14d40fa/attachment.pgp>
