IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

Connected Event

Fired when a WebSocket is successfully opened.

Syntax

ANSI (Cross Platform)
virtual int FireConnected(WebSocketServerConnectedEventParams *e);
typedef struct {
int ConnectionId; int reserved; } WebSocketServerConnectedEventParams; Unicode (Windows) virtual INT FireConnected(WebSocketServerConnectedEventParams *e);
typedef struct {
INT ConnectionId; INT reserved; } WebSocketServerConnectedEventParams;
- (void)onConnected:(int)connectionId;
#define EID_WEBSOCKETSERVER_CONNECTED 1

virtual INT IPWORKSWS_CALL FireConnected(INT &iConnectionId);

Remarks

The Connected event is fired when a WebSocket is successfully opened on a connection.

ConnectionId identifies the connection.

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