So there is no way to override the connection timeout so I don't have to wait so long?
Thanks, Jeremy -----Original Message----- From: Lukas Gebauer [mailto:[email protected]] Sent: Sunday, 31 January 2010 22:40 To: Ararat Synapse Subject: Re: [Synalist] TTCPBlockSocket timeout? > I am using the SetTimeout() property and have set it to both 3 and 3000 as > I am not sure if its seconds or milliseconds and the timeout doesn't seem > to trigger. All timeouts are in milliseconds. > Whats the best way to handle a timeout for a connection .ie. I want the > time out to fire in 3 seconds. I cant seem to see anything that handles > this. These timeouts are not for Connect. Connect timeout is hardcoded in your socket provider. This timeout is for sending or receiving datas and your socket provider must know it. However for default blocking mode you not need to touch this property at all. Use reading methods with timeout parameter instead. -- Lukas Gebauer. http://synapse.ararat.cz/ - Synapse Delphi and Kylix TCP/IP Library http://geoget.ararat.cz/ - Geocaching solution ---------------------------------------------------------------------------- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public ------------------------------------------------------------------------------ The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com _______________________________________________ synalist-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synalist-public
