Set the IPV6_V6ONLY socket option for IPv6 sockets
commit3dcfef0e543b091f083c0c1f4f3f86091f02bcff
authorTomas Abrahamsson <tab@lysator.liu.se>
Sun, 31 Oct 2010 14:31:02 +0000 (31 15:31 +0100)
committerTomas Abrahamsson <tab@lysator.liu.se>
Sun, 31 Oct 2010 14:31:02 +0000 (31 15:31 +0100)
treecdd0fac91f3ee156bcc6d24481245c612303c1b0
parent02f10e3a9f721ef033a54868cb05db7ea1e3cd77
Set the IPV6_V6ONLY socket option for IPv6 sockets

Set the IPV6_V6ONLY option to avoid listening on both IPv4 and IPv6
sockets on Linux. See also the discussion in thread
http://thread.gmane.org/gmane.comp.lang.erlang.general/47738
lib/fd_server/c_src/fdsrv.c