IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

WebSocketConnectionRemotePort Property

This property shows the port of the connected client.

Syntax

ANSI (Cross Platform)
int GetWebSocketConnectionRemotePort(int iConnectionId);

Unicode (Windows)
INT GetWebSocketConnectionRemotePort(INT iConnectionId);
- (int)webSocketConnectionRemotePort:(int)connectionId;
#define PID_WEBSOCKETSERVER_WEBSOCKETCONNECTIONREMOTEPORT 14

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_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

0

Remarks

This property shows the port of the connected client.

The connection must be valid or an error will be fired.

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 read-only and not available at design time.

Data Type

Integer

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