HSE_REQ_ABORTIVE_CLOSE

This support function can be used to request that, when disconnecting the current connection, IIS will use an abortive shutdown sequence to close the TCP/IP connection socket.

BOOL ServerSupportFunction(

  HCONN ConnID,  

  DWORD HSE_REQ_ABORTIVE_CLOSE, 

  LPVOID lpvBuffer,  

  LPDWORD lpdwSize,  

  LPDWORD lpdwDataType

);

Parameters
ConnID
Specifies the connection identifier of the client to which the response data should be sent.
lpvBuffer
Unused in this ServerSupportFunction request type.
lpdwSizeofBuffer
Unused in this ServerSupportFunction request type.
lpdwDataType
Unused in this ServerSupportFunction request type.
Remarks

Abortive closure is one type of closure that can be performed by the TCP/IP socket layer. As soon as this command is received, data flow is immediately cut off, the socket's virtual circuit is reset, and any data remaining in the TCP/IP stack is deleted. Compared to the other type of TCP/IP socket closure, graceful closure, abortive closure generally performs much better.