IP*Works! V9 - Online Help
IP*Works! V9
Questions / Feedback?

DataIn Event

Fired when new ICMP messages come in.

Syntax

icmpport.on('DataIn', [callback])

Callback

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

function(e){ }

The argument 'e' has the following properties:

e.messageType
e.messageSubType
e.messageData (buffer)
e.checksum
e.sourceAddress

Remarks

The MessageType parameter shows the type of the ICMP messages and MessageSubType its subtype.

The MessageData parameter contains the message data.

The Checksum parameter is True or False depending on the ICMP checksum check on the message.

Note that events are not re-entrant. Performing time consuming operations within this event will prevent it from firing again in a timely manner and may impact overall performance.

 
 
Copyright (c) 2018 /n software inc. - All rights reserved.
Build 9.0.6635.0