logoalt Hacker News

Dagger2yesterday at 11:22 AM1 replyview on HN

If your low-level networking code (I assume you mean BSD sockets here) is correct, it shouldn't even need to be aware of v4 or v6. The BSD socket API is designed so that the addresses are in an opaque data structure that you just pass around.


Replies

ChrisMarshallNYyesterday at 12:15 PM

Back when, I did BSD sockets stuff, but generally stay above that, these days.

You're right, and that's my plan.

I have heard, however, that quite a few folks stuck their oars into the IPv6 spec process. I've seen that kind of process before, and the end result can be ... less than ideal ...