PacketTrace Event

Fired for every packet sent or received.

Object Oriented Interface

public function firePacketTrace($param);

Procedural Interface

ipworkssnmp_snmpagent_register_callback($res, 11, array($this, 'firePacketTrace'));

Parameter List


'packet'
'direction'
'packetaddress'
'packetport'

Remarks

The PacketTrace event shows all the packets sent or received by the class.

Packet contains the full contents of the datagram.

Direction shows the direction of the packet: 1 for incoming packets, and 2 for outgoing packets.

In the case of an incoming packet, PacketAddress and PacketPort identify the source of the packet.

In the case of an outgoing packet, PacketAddress and PacketPort identify the destination of the packet.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks SNMP 2020 PHP Edition - Version 20.0 [Build 7941]