sockaddr_storage

Eric S. Raymond esr at thyrsus.com
Fri Jan 27 20:01:19 UTC 2017


Gary E. Miller <gem at rellim.com>:
> Yes, but NTP does not have to.  NTP can just open an IPv6 socket and
> shove all IPv6 and IPv4 in through that socket.  Apache does this, 
> sendmail does this, nginx does this, postfix does this.  Very standard
> and very easy.

That's interesting.  Does this mean we could throw out all IPV4-specific code
and use IPV6 logic everywhere?  I didn't think an IPv6 accept() would take
incoming IPv4 connections - is there a way to make it take both?
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 811 bytes
Desc: not available
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170127/e6813239/attachment.bin>


More information about the devel mailing list