Re: IOCP touching my OVERLAPPED after my Write has completed




"m" <m@xxx> wrote in message news:%23QxURvwwGHA.4972@xxxxxxxxxxxxxxxxxxxxxxx

The short answer is that when the call to GQCS returns the buffers
(OVERLAPPED & data) can be freed immediately.

Alberto: re-examine AllocateRequest(), because it seems that it is returning
a pointer to memory that was already allocated and already sent down to
Winsock, and then sent down again in another request. This would explain
why it is touched by Winsock again. This is pure conjecture.




.


Loading