PipeEndState.processWriteCompletionData

void processWriteCompletionData(DWORD bytesWritten, DWORD error) @trusted nothrow

Process a completed write operation using IOCP completion data.

Called when an overlapped write has completed via IOCP completion. Removes written data from the send queue, notifies the writable callback if appropriate, and submits the next write if there is more data queued.

Parameters

bytesWrittenNumber of bytes transferred.
errorWin32 error code (0 on success).