X-Git-Url: http://www.lcore.org/git/lcore.git/blobdiff_plain/486d5bd497cb900dbab14be07271c47dc1969645..3d939725e66414faa7684bbcd5f4ffe95ee2108d:/lcoreconfig.inc diff --git a/lcoreconfig.inc b/lcoreconfig.inc index 89d299e..27b6e82 100644 --- a/lcoreconfig.inc +++ b/lcoreconfig.inc @@ -1,3 +1,9 @@ + +{ Copyright (C) 2005 Bas Steendijk and Peter Green + For conditions of distribution and use, see copyright notice in zlib_license.txt + which is included in the package + ----------------------------------------------------------------------------- } + {this enables the entire ipv6 functionality - resolving, connecting, etc this is enabled by default to make all apps using lcore automatically ipv6 aware. to disable, undefine it here, or define "noipv6" in the app} @@ -12,3 +18,12 @@ when getaddrinfo is used, there is no reason to include dnscore, and it increase unless you want to use custom nameserver addresses. enable this setting to always include it.} {-$define syncdnscore} + +{on windows up to XP, listening on ipv6 will not listen on ipv4, while on other platforms it does, +so a single listener cant get all connections for a port number, only those for one address family. +also it means a portable app would gave to deal with inconsistent behavior. +enable this option to simulate the behavior of listening on both v4 and v6} + +{$ifdef win32}{$ifdef ipv6} +{$define secondlistener} +{$endif}{$endif}