Board index » delphi » WsaAsyncGetHostByName

WsaAsyncGetHostByName


2003-09-06 11:58:52 PM
delphi177
WsaAsyncGetHostByName result is incremented after every call.
Is there a way to reset the count?
 
 

Re:WsaAsyncGetHostByName

That is the way it works,.
that value is the Task Handle that is current to your request, you
simple use that
in the cancel.
in any case you should use the WSACancelAsyncRequest via that handle
to
insure that value can be used again. most likely it may result in a bad
error on
return if the operation for that task handle has already completed but
it does not
hurt.
Florian writes:
Quote
WsaAsyncGetHostByName result is incremented after every call.
Is there a way to reset the count?