Hi,

What is proper way to abort Smtp connection
in case of timeout ?

SmtpCli.CtrlSocket.Close or CloseDelayed ?

I ask because I notice strange problem with OnRequestDone
event:

Some times after calling SmtpCli->Abort and attempting to
establish new connection I receive OnRequestDone for previous
aborted connection. It's happens rarely and randomly.

So, after aborting connection in case of timeout and starting
new connection I must be sure what OnRequestDone will be
fired only for new connection !

I not call Application.ProcessMessages inside SmtpCli events
handlers.

---
With best regards, Max Terentiev.
Business Software Products.
AMS Development Team.
supp...@bspdev.com
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to