[Libevent-users] Re: IOCP writes

Toby Douglass toby.douglass at summerblue.net
Wed Feb 21 18:25:20 EST 2007


Rhythmic Fistman wrote:
> I don't think you should be passing the same overlapped structure
> twice to WSARecv/Send. I'm pretty sure that the overlapped isn't
> "yours" until GetQueuedCompletionStatus says so. Try a unique
> overlapped structure for each overlappable call.

Don't worry, I'm not re-using overlapped's like that.

I've had just the one overlapped struct till now, because I only did 
reads, and you only have one read outstanding at a time.


More information about the Libevent-users mailing list