IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

ReadyToSend Event

Fired when the class is ready to send data.

Syntax

ANSI (Cross Platform)
virtual int FireReadyToSend(WebSocketServerReadyToSendEventParams *e);
typedef struct {
int ConnectionId; int reserved; } WebSocketServerReadyToSendEventParams; Unicode (Windows) virtual INT FireReadyToSend(WebSocketServerReadyToSendEventParams *e);
typedef struct {
INT ConnectionId; INT reserved; } WebSocketServerReadyToSendEventParams;
- (void)onReadyToSend:(int)connectionId;
#define EID_WEBSOCKETSERVER_READYTOSEND 7

virtual INT IPWORKSWS_CALL FireReadyToSend(INT &iConnectionId);

Remarks

The ReadyToSend event indicates that the underlying TCP/IP subsystem is ready to accept data after a failed DataToSend. The event is also fired immediately after a connection is established.

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