IFWXSocket::Close method
Applies to: desktop apps only
The Close method closes the socket.
Syntax
HRESULT Close(
[in] 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 value
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Remarks
A hard close is done by setting the SO_DONTLINGER option in the Winsock setsockopt function.
Requirements
Minimum supported client |
None supported |
Minimum supported server |
Windows Server 2008 R2, Windows Server 2008 with SP2 (64-bit only) |
Version |
Forefront Threat Management Gateway (TMG) 2010 |
Header |
Wspfwext.idl |
DLL |
Wspsrv.exe |
See also
Build date: 7/12/2010