ReadyToSend Event

Fired when the class is ready to send data.

Syntax

ANSI (Cross Platform)
virtual int FireReadyToSend(MQTTReadyToSendEventParams *e);
typedef struct { int reserved; } MQTTReadyToSendEventParams; Unicode (Windows) virtual INT FireReadyToSend(MQTTReadyToSendEventParams *e);
typedef struct { INT reserved; } MQTTReadyToSendEventParams;
- (void)onReadyToSend;
#define EID_MQTT_READYTOSEND 9

virtual INT IPWORKSMQ_CALL FireReadyToSend();

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.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks MQ 2020 C++ Edition - Version 20.0 [Build 8162]