+\r
+{ Copyright (C) 2005 Bas Steendijk and Peter Green\r
+ For conditions of distribution and use, see copyright notice in zlib_license.txt\r
+ which is included in the package\r
+ ----------------------------------------------------------------------------- }\r
+\r
{this enables the entire ipv6 functionality - resolving, connecting, etc\r
this is enabled by default to make all apps using lcore automatically ipv6 aware.\r
to disable, undefine it here, or define "noipv6" in the app}\r
unless you want to use custom nameserver addresses. enable this setting to always include it.}\r
\r
{-$define syncdnscore}\r
+\r
+{on windows up to XP, listening on ipv6 will not listen on ipv4, while on other platforms it does, \r
+so a single listener cant get all connections for a port number, only those for one address family.\r
+also it means a portable app would gave to deal with inconsistent behavior.\r
+enable this option to simulate the behavior of listening on both v4 and v6}\r
+\r
+{$ifdef win32}{$ifdef ipv6}\r
+{$define secondlistener}\r
+{$endif}{$endif}\r