HSE_REQ_ASYNC_READ_CLIENT

Using this support function, your ISAPI extension can request that IIS attempt to read from the client asynchronously. In order for this function to work properly, however, you must have specified a special callback function, which IIS will call when the asynchronous read has completed. This callback function can be set using the ServerSupportFunction request HSE_REQ_IO_COMPLETION.

BOOL ServerSupportFunction(

  HCONN ConnID,  

  DWORD HSE_REQ_ASYNC_READ_CLIENT, 

  LPVOID lpvBuffer,  

  LPDWORD lpdwSize,  

  LPDWORD lpdwDataType

);

 

Parameters
ConnID
Specifies the connection identifier of the client to which the response data should be sent.
lpvBuffer
Points to the buffer into which IIS should write the data read from the client.
lpdwSizeofBuffer
Points to the size of the buffer indicated by lpvBuffer.
lpdwDataType
Must be set to HSE_IO_ASYNC.
Remarks

If your extension has not set a callback function before calling the ServerSupportFunction HSE_REQ_ASYNC_READ_CLIENT request, then your extension will receive an error from IIS.

See Also

Asynchronous I/O Processing

HSE_REQ_IO_COMPLETION