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

Contents of /trunk/lcoreconfig.inc

Parent Directory Parent Directory | Revision Log Revision Log


Revision 150 - (show annotations)
Thu Oct 26 02:16:06 2017 UTC (7 weeks, 3 days ago) by beware
File size: 2607 byte(s)
no longer by default call TimeBeginPeriod(1) in btime init
1
2 { Copyright (C) 2005 Bas Steendijk and Peter Green
3 For conditions of distribution and use, see copyright notice in zlib_license.txt
4 which is included in the package
5 ----------------------------------------------------------------------------- }
6
7 {this enables the entire ipv6 functionality - resolving, connecting, etc
8 this is enabled by default to make all apps using lcore automatically ipv6 aware.
9 to disable, undefine it here, or define "noipv6" in the app}
10
11 {$ifndef noipv6}
12 {$define ipv6}
13 {$endif}
14
15 {-------------------------------------------------------------------------------------}
16 {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.
18 when getaddrinfo is used, there is no reason to include dnscore, and it increases the exe size,
19 unless you want to use custom nameserver addresses. enable this setting to always include it.}
20
21 {-$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,
32 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.
34 enable this option to simulate the behavior of listening on both v4 and v6}
35
36 {$ifdef mswindows}{$ifdef ipv6}
37 {$define secondlistener}
38 {$endif}{$endif}
39
40 {-------------------------------------------------------------------------------------}
41 {the threaded windows async dns is currently (2014-03-28) broken. it causes crashes
42 after running for a period of time. -anders}
43 {$ifdef mswindows}
44 {-$define winasyncdns}
45 {$endif}
46
47 {-------------------------------------------------------------------------------------}
48 {btime used to set TimeBeginPeriod(1) on init, so a program was permanently in this state.
49 doing this is not recommended, so it is no longer done by default.
50 set this define to get the old behavior back.}
51 {-$define btimehighrate}
52

Properties

Name Value
svn:eol-style CRLF

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