Internet Direct (Indy) Version 9.0.1 Beta
TWorkEvent
Indicates that the read or write operation is being performed.

TWorkEvent = procedure (Sender: TObject; AWorkMode: TWorkMode; const AWorkCount: Integer) of object;
Description
This event often fires when a component is receiving or sending data and this event is often used to update progress indicators.

AWorkMode indicates if the component is receiving or sending data and can be one of two values:

AWorkCount indicates the number of bytes sent or received.