Microsoft Internet Security and Acceleration Server 2000

IFWXSocket::Shutdown Method

Starts transport shutdown on this socket.

HRESULT Shutdown(
  BOOLEAN fAbortive
);

Parameters

fAbortive
[in] Close-type flag. If TRUE, the connection will be hard-closed (RST packet). If FALSE, it will be closed gracefully (FIN packet).

Remarks

Shutdown is done with how=SD_SEND. An abortive shutdown is carried out by setting the SO_DONTLINGER option in the Winsock setsockopt function.