Microsoft Internet Security and Acceleration Server 2000

IFWXSocket::Close Method

Closes the socket.

HRESULT Close(
  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

A hard close is done by setting the SO_DONTLINGER option in the Winsock setsockopt function.