I was happy to find the HeartBeat function, which allows smooth operation
for the user, so he can abort the connection and the GUI is updated.
Unfortunately it doesn't work when the connection is caught by the firewall.
When e.g. Zonealarm catches the connection, either because it completely
denies connection or it asks the user to confirm, then my application locks
up until the connection timeout. The HeartBeat callback is not called during
this time and therefore the user cannot cancel the connection.
Is there a common solution for this problem?
I suppose it can be solved by creating each connection (and the THTTPSend
object) in a new thread, which allows the user to cancel and connect again
quickly if he want (by creating a new thread with a new THTTPSend instance),
but I hope there is a more simple solution.
Best regards,
Hans Jakobsen
EarMaster ApS
<mailto:[email protected]> [email protected]
EarMaster.com - because in music we're all ears!
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
synalist-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synalist-public