TcpListenerState.associateWithIocp

int associateWithIocp() @trusted nothrow

Associate the listen socket with the event loop's IOCP.

Returns

0 on success, or -1 on failure.