Seth Grover wrote: > So that seems to be the difference: In the FreePascal code, > ResolveName is being called, which makes a DNS request whether or not > the entry is in /etc/hosts. In Kylix, GetAddrInfo only makes the DNS > request if the entry is not present in /etc/hosts.
You propably didn't see Lukas's answer? Would've saved you couple of hours work :) Lukas Gebauer wrote: > Synapse under Kylix using native socket interface by Libc library. > > However Synapse under FPC not using Libc at all. It using freepascal's > unit sockets.pp instead. It is because this way is compatible with many > unix based systems, include systems without libc support. But this > freepascal's unit have their own name resolving code what maybe ignoring > hosts file... > > This is why you see difference. -- Markku Uttula ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
