BadPacket Event

Fired for erroneous and/or malformed messages.

Object Oriented Interface

public function fireBadPacket($param);

Procedural Interface

ipworkssnmp_snmpmgr_register_callback($res, 1, array($this, 'fireBadPacket'));

Parameter List


'packet'
'sourceaddress'
'sourceport'
'errorcode'
'errordescription'
'report'

Remarks

The full message is provided in the Packet parameter.

The BadPacket event is also fired when authentication fails for received packets due to a bad password or other reasons.

If the Report parameter is set to True, an unauthenticated error report will be sent to the client, otherwise the packet will be silently ignored.

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