The Shutdown method starts transport shutdown on the socket.
HRESULT Shutdown( [in] BOOLEAN fAbortive );
Close-type flag. If TRUE, the connection will be hard closed (RST packet). If FALSE, it will not be hard closed (FIN packet).
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Shutdown is done with how=SD_SEND. An abortive shutdown is carried out by setting the SO_DONTLINGER option in the Winsock setsockopt function.
|Server||Requires Windows Server 2008.|
|Version||Requires Forefront Threat Management Gateway (TMG).|
Declared in Wspfwext.idl.
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.