HopLimit Property

The maximum number of hops to allow for a trace.

Syntax

ANSI (Cross Platform)
int GetHopLimit();
int SetHopLimit(int iHopLimit); Unicode (Windows) INT GetHopLimit();
INT SetHopLimit(INT iHopLimit);
@property (nonatomic,readwrite,assign,getter=hopLimit,setter=setHopLimit:) int hopLimit;
- (int)hopLimit;
- (void)setHopLimit:(int)newHopLimit;
#define PID_TRACEROUTE_HOPLIMIT 1

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_TraceRoute_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_TraceRoute_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

64

Remarks

This property is used to limit lengthy traces. A value of 0 indicates an unbounded trace.

Note: if the value of Timeout is 0, an unbounded trace may cause a call to TraceTo to block indefinitely. To cancel such a route trace, call Interrupt.

Data Type

Integer

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