Internet Direct (Indy) Version 9.0.1 Beta
|
procedure BeginWork(AWorkMode: TWorkMode; const ASize: Integer); virtual;
AWorkMode is a TWorkMode enumerated type, and can contain the values:
ASize is the optional value indicating the number of bytes expected by to be received or sent by the connection.
Calls to the BeginWork procedure can be nested, but the OnBeginWork event handler will be invoked only for the initial call to BeginWork.
Applications must assign a procedure to the OnBeginWork event handler in order to respond to the event notification.