Hi y'all,
   I wonder, is anybody here sufficiently familiar with Winsock 
programming to answer this conundrum?

"I don't know how can I force a winsock API function call like
 'connect' to exit before returning success or failure."

It arises from a need we have in TurboNote to allow users to cancel 
a note send which clearly isn't working (e.g. the destination 
computer isn't present, or they've sent an email to a dial-up SMTP 
server and TurboNote can't find its address via a DNS call).

We have an "abort" icon to click, but basically the click isn't 
recognised/dealt with until the lower level API call is done with, 
which can take quite a while in cases such as those above. Does 
anyone have any suggestions about ways in which we can handle 
this, perchance?

TIA.


cheers,
peter

============================================
Peter Hyde, WebCentre Ltd & SPIS Ltd, Christchurch, New Zealand
* Web automation for online periodicals: http://TurboPress.com
* TurboNote+: http://TurboPress.com/tbnote.htm
  -- easy, small, handy onscreen sticky notes
---------------------------------------------------------------------------
  New Zealand Delphi Users group - Offtopic List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to