Hi,

I'm often deploying server apps on the IPv6 stack, and I find that Nim is quite 
lacking in this regard. I believe by default, sockets are only bound to AF_INET 
(which means IPv4 only) while normally on C it defaults to AF_UNSPEC if not 
manually defined (which means dual stack). I opened a bug here: 
<https://github.com/nim-lang/Nim/issues/22442>

Is there a reason behind this default value chosen for the stdlib? It seems 
that AF_UNSPEC does not even work.

If the default is changed, I believe this might be a breaking change. I'm 
willing to work on the topic in my spare time for the linux platform but how do 
you even go about telling the compiler to use a different stdlib?

Reply via email to