Microsoft Internet Security and Acceleration Server 2004 SDK

IFWXConnection::IncrementBytesSentCounter

The IncrementBytesSentCounter method updates the counter with how many bytes have been sent over an emulated connection.

HRESULT IncrementBytesSentCounter(
  DWORD dwBytesSent
);

Parameters

dwBytesSent
The number of bytes sent since the counter was last updated.

Return Values

S_OK
The method succeeded
FWX_E_NOT_EMULATED
The connection is not emulated.

Remarks

This method is used by application filters that use connection emulation. In an emulated connection, ISA Server does not have access to the emulated external socket associated only with the application filter and does not count bytes sent through that socket. The filter must call this function to count bytes sent on behalf of the client on the emulated connection. The total count appears in the log file in the bytes sent column.

Requirements

Server: Requires Windows Server 2003 or Windows 2000.
Version: Requires Internet Security and Acceleration Server 2004.

See Also

IFWXConnection, EmulateConnection