IPAddress Event

Fired for each valid IP address on this host.

Syntax

ANSI (Cross Platform)
virtual int FireIPAddress(IPMonitorIPAddressEventParams *e);
typedef struct {
const char *IpAddress; int reserved; } IPMonitorIPAddressEventParams; Unicode (Windows) virtual INT FireIPAddress(IPMonitorIPAddressEventParams *e);
typedef struct {
LPCWSTR IpAddress; INT reserved; } IPMonitorIPAddressEventParams;
- (void)onIPAddress:(NSString*)ipAddress;
#define EID_IPMONITOR_IPADDRESS 2

virtual INT IPWORKS_CALL FireIPAddress(LPSTR &lpszIpAddress);

Remarks

Before monitoring the network, LocalHost must be set to a valid address on the host. Use ListIPAddresses method to list all valid addresses that can be monitored. After a call to the method, an IPAddress event will fire for each address.

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