Re: Question about IO Completion Port with Socket
- From: me@xxxxxxxxx
- Date: 18 May 2007 02:37:05 -0700
On 16 май, 22:00, Kevin LZJ <Kevin...@xxxxxxxxxxxxxxxxxxxxxxxxx>
wrote:
So, if the handle is invalid (socket closed or file closed), how about the behavior of IOCP?
If socket is closed and IOCP have pending IO requests,
GetQueuedCompletionStatus will return with lpNumberOfBytes == 0.
You should not use PostQueuedCompletionStatus for this.
.
- Prev by Date: Re: how to wait for socket communications
- Next by Date: Wincap samples
- Previous by thread: Re: Question about IO Completion Port with Socket
- Next by thread: socket
- Index(es):