IPWorks WebSockets 2020 C++ Edition

Questions / Feedback?

WebSocketProxyConnectionLocalAddress Property

This property shows the IP address of the interface through which the connection is passing.

Syntax

ANSI (Cross Platform)
char* GetWebSocketProxyConnectionLocalAddress(int iConnectionId);

Unicode (Windows)
LPWSTR GetWebSocketProxyConnectionLocalAddress(INT iConnectionId);
- (NSString*)webSocketProxyConnectionLocalAddress:(int)connectionId;
#define PID_WEBSOCKETPROXY_WEBSOCKETPROXYCONNECTIONLOCALADDRESS 8

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

Default Value

""

Remarks

This property shows the IP address of the interface through which the connection is passing.

WebSocketProxyConnectionLocalAddress is important for multi-homed hosts where it can be used to find which particular network interface an individual connection is going through.

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

Data Type

String

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