k0001 / network-simple

Haskell library abstracting common network sockets usage patterns.
BSD 3-Clause "New" or "Revised" License
33 stars 9 forks source link

HostAny does not listen for IPv6 connections #22

Closed amir-sabbaghi closed 6 years ago

amir-sabbaghi commented 8 years ago

There is HostIPv4 which listens for IPv4 connections. There is HostIPv6 which listens for IPv6 connections. And there is HostAny which should ideally listen for both. But it currently does not. It is equivalent to HostIPv4. If you set AI_V4MAPPED flag on an IPv6 socket, it can listen for both IPv4 and IPv6 connections.

k0001 commented 6 years ago

This has been implemented already. Thanks. Sorry for the incredibly long delay.