Please show me a porting guide that even mentions supporting IPv4-only mode
through an IPv6 socket by using this method. There is none that I know of.
That was their decision, and it doesn't mean it's the right thing to do. It
doesn't mean Linux shouldn't change either, but name-calling isn't going to get
you anywhere on this list.
Compare your bittorrent server to Apache, which is probably the most widely-used
server application in the world. It doesn't do what you're trying to do. See
http://httpd.apache.org/docs/2.2/bind.html and/or browse the source code.
Because if you want IPv4-only you open an AF_INET socket. There is no
equivalent to IPv6-only, for example when you open an AF_INET6 socket and set
IPV6_ONLY on it.
-Brian
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html