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}\r
+{$define secondlistener}\r
+{$endif}\r
classes,{pgdebugout,}pgtypes,lcore,fd_utils,binipstuff,dnssync;\r
\r
{$ifdef ipv6}\r
-{$define secondlistener}\r
const\r
v4listendefault:boolean=false;\r
{$endif}\r
twsocket=tlsocket; {easy}\r
\r
\r
-{!!!function longipdns(s:string):longint;}\r
-\r
const\r
TCP_NODELAY=1;\r
IPPROTO_TCP=6;\r