If IPv6 has been enabled, that should bind to :: , this is the standard behaviour of all IPv6 apps, and to not do so would be utterly broken. If by some quirk the OS doesn't support IPv4 over IPv6 sockets, then getaddrinfo PF_UNSPEC magic should return the correct linked list to handle this.
Um, then wouldn't it only be listening on IPv6 sockets, not IPv4?
Surely that can't be right. -- justin