IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

WebSocketProxyConnectionConnected Property

This property is used to disconnect individual connections and/or show their status.

Syntax

ANSI (Cross Platform)
int GetWebSocketProxyConnectionConnected(int iConnectionId);
int SetWebSocketProxyConnectionConnected(int iConnectionId, int bWebSocketProxyConnectionConnected); Unicode (Windows) BOOL GetWebSocketProxyConnectionConnected(INT iConnectionId);
INT SetWebSocketProxyConnectionConnected(INT iConnectionId, BOOL bWebSocketProxyConnectionConnected);
- (BOOL)webSocketProxyConnectionConnected:(int)connectionId;
- (void)setWebSocketProxyConnectionConnected:(int)connectionId:(BOOL)newWebSocketProxyConnectionConnected;
#define PID_WEBSOCKETPROXY_WEBSOCKETPROXYCONNECTIONCONNECTED 3

IPWORKSWS_EXTERNAL void* IPWORKSWS_CALL IPWorksWS_WebSocketProxy_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketProxy_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSWS_EXTERNAL int IPWORKSWS_CALL IPWorksWS_WebSocketProxy_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

FALSE

Remarks

This property is used to disconnect individual connections and/or show their status.

The WebSocketProxyConnectionConnected property may be set to false to close the connection.

WebSocketProxyConnectionConnected also shows the status of a particular connection (connected/disconnected).

The ConnectionId parameter specifies the index of the item in the array. The size of the array is controlled by the WebSocketProxyConnectionCount 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]