TcpConnectionState.submitTransmitFile

bool submitTransmitFile() @trusted nothrow

Submit a TransmitFile operation (IOCP overlapped mode).

Uses the Winsock TransmitFile extension to transfer file data directly from kernel file buffers to the socket.

Returns

true if submitted or completed synchronously, false on error.