> Are there constants defined in sources somewhere that I can get a hold > of these errors? > > The reason that I ask is because I just started testing a > Lazarus/Freepascal application on Linux and had a bit of a time > tracking down an error in my application. > > I was getting "Connect timed out" error, but Windows (where I develop) > reports this error as 10060 but Linux (CentOS 4.4 in this case) > reports it as 110.
Constants are defined in Synsock pligin. (sswin32.pas, sslinux.pas, etc.) However try to see LastErrorDesc property too, what contains human readable error string, what is platform independent. ;-) -- Lukas Gebauer. E-mail: [EMAIL PROTECTED] http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
