Cancelling an Asynchronous callback method

  • Thread starter Thread starter John
  • Start date Start date
J

John

I will be setting up an asynchronous receive routine for a TCP Socket. If
the receive callback method is not called within some time interval, I want
to cancel the use of the callback method.

Does anyone know the way to cancel the use of a callback routine?

John
 
Hi,

As far as I know there is no API call to cancel an asynchronous call. I
have found this to be a frustrating limitation. You will have to implement
a custom round about solution.

Regards,

- Bruce.
 
Back
Top