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

Kevin Sanders newroswell at gmail.com
Tue Dec 5 10:59:42 EST 2006


On 12/5/06, Toby Douglass <toby.douglass at summerblue.net> wrote:
> >> 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?

Of course I have.  ConnectEx works great also.


More information about the Libevent-users mailing list