> I have THTTPSend created and running in thread. Can I somehow safely
> abort connection from main thread when THTTSend.HTTPMethod takes too
> long? This socket have procedure Abort:

Abort just set flag and this flag is checked inside read/write 
Synapse operations. However when socket is in blocking state, then is 
not possible to check this flag.

As solution you can enable Heartbeats on the socket. Each heartbeat 
checking abort flag too.



-- 
Lukas Gebauer.

http://synapse.ararat.cz/ - Ararat Synapse - TCP/IP Lib.
http://geoget.ararat.cz/ - Geocaching solution


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to