ReadyToSend Event
Fired when the component is ready to send data.
Syntax
typedef struct { } TiotMQTTReadyToSendEventParams; typedef void __fastcall (__closure *TiotMQTTReadyToSendEvent)(System::TObject* Sender, TiotMQTTReadyToSendEventParams *e); __property TiotMQTTReadyToSendEvent OnReadyToSend = { read=FOnReadyToSend, write=FOnReadyToSend };
Remarks
The ReadyToSend event indicates that the underlying TCP/IP subsystem is ready to accept data after a call to PublishData or PublishMessage fails due to a WOULDBLOCK condition. The event is also fired immediately after a connection to the remote host is established.