At the request of the IPv6 Forum’s IPv6 Enabled group, Lawrence Hughes, CTO of InfoWeapons has created a sample C code for dual stacks, that shows the correct way to accept connections from both IPv4 and IPv6 clients. Using an advanced technique called non-blocking sockets to connect to all addresses published in DNS for a given nodename, in parallel, rather than serially, the mysterious 30 to 70 second timeout before connecting to a site, which makes it look like the content provider’s site is broken, is eliminated. According to Newswire Today, sample C will make World IPv6 Day more successful.
“’The IPv6 Forum welcomes the free sharing of code like this that demonstrates a better way of doing things with IPv6. This particular code can improve the functionality of a wide class of IPv6 enabled client software and accelerate the support of IPv6 by content providers,’ says Latif Ladid, President of the IPv6 Forum.
For further information on IPv6, including labs that talk you through creating a full dual stack testbed network using only open source software, generic PCs and free tunneled service, download Lawrence Hughes’ free 300+ page book ‘The Second Internet: Reinventing Computer Networks with IPv6’. This is available from various sites, including secondinternet.org, ipv6forum.org and apnic.net. This book has been downloaded hundreds of thousands of times and is helping advance IPv6 adoption worldwide.”