Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodtAbstractSocket.ShutdownSend

procedure ShutdownSend; virtual; abstract;
Half-close: shuts the SENDING direction only (shutdown SD_SEND / SHUT_WR), so the peer sees EOF on its reads while this end can still receive whatever the peer has left to send. Used by the SSH port-forwarding threads to translate an inbound SSH_MSG_CHANNEL_EOF into a TCP FIN without tearing the connection down, which is what makes request/response protocols that half-close (e.g. HTTP) survive forwarding.