PipeEndState.associateWithIocp

int associateWithIocp() @trusted nothrow

Associate the pipe handle with the event loop's IOCP.

This binds the pipe handle to the I/O completion port so that overlapped operations on this handle will generate completion notifications that wake the event loop.

Returns

0 on success, or -1 on failure.