TcpConnectionState.submitSend

bool submitSend() @trusted nothrow

Submit an overlapped send operation.

Initiates an asynchronous send on the socket using data from the send queue. Only one send operation can be pending at a time.

Returns

true if the operation was submitted or completed synchronously,

false if an error occurred and the connection was torn down.