News for hackers. Stuff that matters.
Re:Protocol Wars by talideon on Thursday May 11, 2023 @06:06AM (#35900071)
Also, developers who don't know how to get their daemons to listen on multiple interfaces at once.
Re:Protocol Wars by cesarb on Thursday May 11, 2023 @09:02AM (#35901429)
That's not necessary; listening on the wildcard IPv6 address without the "IPv6 only" flag enabled on the socket is enough. A IPv4 connection arriving at it is mapped to a special IPv6 address, so the code doesn't have to care about IPv4.

Unless you were using Windows, where IIRC the IPv4 and IPv6 stacks were separate, and a single socket couldn't be used to listen to both at the same time. (This might already have been fixed in more recent Windows releases.)