[Libevent-users] Win32 I/O completion ports code release

Toby Douglass toby.douglass at summerblue.net
Tue Dec 5 10:35:37 EST 2006


>> The docs say the following functions can be used with an IOCP;
>>
>> ConnectNamedPipe
>> DeviceIoControl
>> LockFileEx
>> ReadDirectoryChangesW
>> ReadFile
>> TransactNamedPipe
>> WaitCommEvent
>> WriteFile

> Use AcceptEx.

The docs sayeth;

"The following functions can be used to start I/O operations that complete
using completion ports."

(And then the above list is given).

This to me means that it is these and only these functions which can be
used with IOCP, which in turn means having an overlapped structure doesn't
automatically mean you can use that function with an IOCP.

Have you used AcceptEx() with an IOCP and found it works?




More information about the Libevent-users mailing list