The WriteClient callback function is called by an ISAPI filter to send data to the client.
BOOL WINAPI * WriteClient(
PHTTP_FILTER_CONTEXT pfc,
LPVOID buffer,
LPDWORD lpdwBytes,
DWORD dwReserved
);
If you are using IIS version 3.0 or later, and you attempt to send more than 16 KB of data over an SSL connection, IIS will automatically break your outgoing data into multiple chunks of 16 KB or smaller.