/[lcore]/trunk/lcoreconfig.inc
ViewVC logotype

Diff of /trunk/lcoreconfig.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 19 by beware, Mon Mar 31 11:10:42 2008 UTC revision 20 by beware, Fri Dec 26 19:17:00 2008 UTC
# Line 12  Line 12 
12  {$define ipv6}  {$define ipv6}
13  {$endif}  {$endif}
14    
15    {-------------------------------------------------------------------------------------}
16  {there are 2 ways to use DNS in lcore: dnscore, which an entire built in DNS client, and getaddrinfo.  {there are 2 ways to use DNS in lcore: dnscore, which an entire built in DNS client, and getaddrinfo.
17  dnscore is always included on *nix to avoid libc dependency problems, but getaddrinfo is used on windows.  dnscore is always included on *nix to avoid libc dependency problems, but getaddrinfo is used on windows.
18  when getaddrinfo is used, there is no reason to include dnscore, and it increases the exe size,  when getaddrinfo is used, there is no reason to include dnscore, and it increases the exe size,
# Line 19  Line 20 
20    
21  {-$define syncdnscore}  {-$define syncdnscore}
22    
23    {-------------------------------------------------------------------------------------}
24    {lcore contains a built in general purpose secure random number generator, which is used elsewhere in lcore, for
25    example by the DNS resolver. the used random function can be hooked to point to one's own RNG as desired.
26    it is then also possible to not include the built in RNG in the exe, which reduces code size}
27    
28    {-$define nolcorernd}
29    
30    {-------------------------------------------------------------------------------------}
31  {on windows up to XP, listening on ipv6 will not listen on ipv4, while on other platforms it does,  {on windows up to XP, listening on ipv6 will not listen on ipv4, while on other platforms it does,
32  so a single listener cant get all connections for a port number, only those for one address family.  so a single listener cant get all connections for a port number, only those for one address family.
33  also it means a portable app would gave to deal with inconsistent behavior.  also it means a portable app would gave to deal with inconsistent behavior.
# Line 27  Line 36 
36  {$ifdef win32}{$ifdef ipv6}  {$ifdef win32}{$ifdef ipv6}
37  {$define secondlistener}  {$define secondlistener}
38  {$endif}{$endif}  {$endif}{$endif}
39    
40    {-------------------------------------------------------------------------------------}

Legend:
Removed from v.19  
changed lines
  Added in v.20

No admin address has been configured">No admin address has been configured
ViewVC Help
Powered by ViewVC 1.1.22