nanog mailing list archives

Re: "Programmers can't get IPv6 thus that is why they do not have IPv6 in their applications"....


From: William Herrin <bill () herrin us>
Date: Thu, 29 Nov 2012 09:30:03 -0500

On Wed, Nov 28, 2012 at 1:30 PM, david peahi <davidpeahi () gmail com> wrote:
Do today's programmers still use basic BSD socket programming? Is there an
equivalent set of called procedures for IPv6 network application
programming?

The IPv6 API is BSD sockets. However, unless you were a particularly
advanced sockets programmer you'll find that the way you used sockets
for IPv4 (assuming that multiple IP addresses for a host was the
exception rather than the rule) is wholly ineffective for writing
useful IPv6-compatible code.

Regards,
Bill Herrin


-- 
William D. Herrin ................ herrin () dirtside com  bill () herrin us
3005 Crane Dr. ...................... Web: <http://bill.herrin.us/>
Falls Church, VA 22042-3004


Current thread: