[AGENT++] source IP of the trap

Ramin Dousti ramin at cannon.eng.us.uu.net
Tue Oct 5 17:11:38 CEST 2004


On Mon, Oct 04, 2004 at 08:49:59PM +0200, Frank Fock wrote:

> Hi Ramin,
> 
> You can use request.get_address() to get the senders transport address.

Thanks, Frank.
Well, the callback has the following arguments:

                       cb(int reason,
                          Snmp* snmp,
                          Pdu& pdu,
                          SnmpTarget& target,
                          void* data)

Where do I get the "request" object from?

Thanks,
Ramin


> Best regards,
> Frank



More information about the AGENTPP mailing list