Game Development Community

Upcoming support for IPv6?

by Fabian Holmberg · in Torque Game Engine · 05/17/2005 (12:03 am) · 2 replies

I have been doing some reading on the differences of IPv4 and IPv6 and the potential benefits for IPv6 are HUGE in terms of guaranteed packet ordering / reduced packet sizes and whatnot.

Apparantly adaptation from IPv4 to IPv6 on the low level is quite seamless:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winsock/winsock/ipv6_support_2.asp

Looks like only udp.cpp would be affected - for now. Be interesting to know if you guys have any plans for adding this support.

#1
05/17/2005 (9:50 am)
It should be a pretty minimal set of changes to get IPv6 working. Though it's not high on our list of priorities, we'd be happy to integrate a code patch if someone out the in TNL land whips one up :)

- Mark
#2
05/17/2005 (7:53 pm)
Sure thing - for the most part, changes would have to be done in udp.cpp. The only change that is required is to use sockaddr_in6 instead of sockaddr_in. While doing this, backward compatibility for IPv4 would have to be maintained.

The good thing about IPv6 is that its designed to make the delivery protocol more efficient by keeping overhead to a minimum as it has a more efficient routing infrastructure. This should translate into faster and more reliable packet delivery, which in itself offers a good drive to adapt to IPv6.