IPAddress Event

Fired for each valid IP address on this host.


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;

virtual INT IPWORKS_CALL FireIPAddress(LPSTR &lpszIpAddress);


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]