Hacker News new | ask | show | jobs
by magicalhippo 549 days ago
> The hardest part of supporting IPv6 was fixing your address parsing?

That was actually a non-trivial part of implementing IPv6. Sure RFC 2732 had come out a few years earlier, but we weren't parsing URLs so it was not clear if it applied to our use-case.

All the rest that was required for us to support IPv6 was quite trivial. This was the only thing we had to spend time on.

> The reason why this isn't a good take is that IP address parsing is a standard function of every standard library on the planet.

Ok, I stand to be corrected, after all none of us were network programming experts.

How do you parse a IPv6 address, including the port number if present, using Boost 1.35 or C++03 STL? Note should run on Windows XP, as well as Linux and OSX of similar era. Does your solution require the format specified in RFC 2732?

Anyway my point still stands. There main friction to adopting IPv6 is not the wire format, it's everything else they changed.