IPWorks Bluetooth 2020 C++ Edition

Questions / Feedback?

RemoteHost Property

This property shows the IP address of the remote host through which the connection is coming.

Syntax

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

Unicode (Windows)
LPWSTR GetRemoteHost(INT iConnectionId);
#define PID_BTDAEMON_REMOTEHOST 13

IPWORKSBT_EXTERNAL void* IPWORKSBT_CALL IPWorksBT_BTDaemon_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSBT_EXTERNAL int IPWORKSBT_CALL IPWorksBT_BTDaemon_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

This property shows the IP address of the remote host through which the connection is coming.

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

If the class is configured to use a SOCKS firewall, the value assigned to this property may be preceded with an "*". If this is the case, the host name is passed to the firewall unresolved and the firewall performs the DNS resolution.

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

This property is read-only and not available at design time.

Data Type

String

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks Bluetooth 2020 C++ Edition - Version 20.0 [Build 7941]