Hop Event

Fired for each hop in the trace to the RemoteHost .

Syntax

ANSI (Cross Platform)
virtual int FireHop(TraceRouteHopEventParams *e);
typedef struct {
int HopNumber;
const char *HostAddress;
int Duration; int reserved; } TraceRouteHopEventParams; Unicode (Windows) virtual INT FireHop(TraceRouteHopEventParams *e);
typedef struct {
INT HopNumber;
LPCWSTR HostAddress;
INT Duration; INT reserved; } TraceRouteHopEventParams;
- (void)onHop:(int)hopNumber :(NSString*)hostAddress :(int)duration;
#define EID_TRACEROUTE_HOP 2

virtual INT IPWORKS_CALL FireHop(INT &iHopNumber, LPSTR &lpszHostAddress, INT &iDuration);

Remarks

This event provides access to the information for each hop in the trace. The HopNumber parameter denotes which hop the trace is at. The HostAddress parameter is the IP address of the host for the hop identified by HopNumber. The Duration parameter shows the amount of time taken by the hop.

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