{$define ipv6}\r
{$endif}\r
\r
+{-------------------------------------------------------------------------------------}\r
{there are 2 ways to use DNS in lcore: dnscore, which an entire built in DNS client, and getaddrinfo.\r
dnscore is always included on *nix to avoid libc dependency problems, but getaddrinfo is used on windows.\r
when getaddrinfo is used, there is no reason to include dnscore, and it increases the exe size,\r
\r
{-$define syncdnscore}\r
\r
+{-------------------------------------------------------------------------------------}\r
+{lcore contains a built in general purpose secure random number generator, which is used elsewhere in lcore, for\r
+example by the DNS resolver. the used random function can be hooked to point to one's own RNG as desired.\r
+it is then also possible to not include the built in RNG in the exe, which reduces code size}\r
+\r
+{-$define nolcorernd}\r
+\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
+{$ifdef win32}{$ifdef ipv6}\r
{$define secondlistener}\r
-{$endif}\r
+{$endif}{$endif}\r
+\r
+{-------------------------------------------------------------------------------------}
\ No newline at end of file