Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXSocket::Shutdown

The Shutdown method starts transport shutdown on the 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 not be hard closed (FIN packet).

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

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.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.
Header: Declared in Wspfwext.idl.

See Also

IFWXSocket