IP*Works! 2016 Node.js Edition
IP*Works! 2016 Node.js Edition
Questions / Feedback?

HopResolved Event

Fired when the name of a hop address is found.

Syntax

traceroute.on('HopResolved', [callback])

Callback

The 'callback' is called when the 'HopResolved' event is emited.

function(e){ }

The argument 'e' has the following properties:

e.hopNumber
e.statusCode
e.hopHostName

Remarks

The StatusCode contains 0 if the address is resolved successfully, or an error code, in which case, HopHostName contains a textual description of the error.

Host name resolution is disabled by default. Set ResolveNames to True to enable it.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
IP*Works! 2016 Node.js Edition - Version 16.0 [Build 7239]