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

BadPacket Event

Fired for erroneous and/or malformed messages.

Syntax

typedef void __fastcall (__closure *TipnSNMPAgentBadPacketEvent)(System::TObject* Sender, TipnSNMPAgentBadPacketEventParams *e);

__property TipnSNMPAgentBadPacketEvent OnBadPacket = {read=FOnBadPacket, write=FOnBadPacket};

typedef struct {
     String Packet;
     String SourceAddress;
     int SourcePort;
     int ErrorCode;
     String ErrorDescription;
     bool Report;
} TipnSNMPAgentBadPacketEventParams;

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.

Please refer to the GetUserPassword event for more information concerning SNMPv3 authentication.

 
 
Copyright (c) 2017 /n software inc. - All rights reserved.
Build 9.0.6240.0