ShutdownHostLookups
function ShutdownHostLookups(aWithinMs: Cardinal): Boolean;
For a DLL or runtime package containing this unit, before unloading it: closes admission for good (later LookupHostWithin calls return hlrStopped, and so do waiting ones) and waits at most aWithinMs (0: only checks) for the lookup threads to end. True: none is left, and once your own callers of this module have returned it may be unloaded. False: KEEP THE MODULE LOADED and call again later. Calls may overlap. On POSIX targets other than Linux a thread cannot be waited for: once any lookup has been admitted there, it always returns False. HostLookupShutdown.txt gives the whole host sequence.