IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

WebSocketConnectionAcceptData Property

Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection.

Syntax

ANSI (Cross Platform)
int GetWebSocketConnectionAcceptData(int iConnectionId);
int SetWebSocketConnectionAcceptData(int iConnectionId, int bWebSocketConnectionAcceptData); Unicode (Windows) BOOL GetWebSocketConnectionAcceptData(INT iConnectionId);
INT SetWebSocketConnectionAcceptData(INT iConnectionId, BOOL bWebSocketConnectionAcceptData);
- (BOOL)webSocketConnectionAcceptData:(int)connectionId;
- (void)setWebSocketConnectionAcceptData:(int)connectionId:(BOOL)newWebSocketConnectionAcceptData;
#define PID_WEBSOCKETSERVER_WEBSOCKETCONNECTIONACCEPTDATA 3

IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketServer_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

TRUE

Remarks

Setting this property to False, temporarily disables data reception (and the DataIn event) on the connection. Setting this to True, re-enables data reception.

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketConnectionCount property.

This property is not available at design time.

Data Type

Boolean

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