On Fri, 2005-07-15 at 17:07 -0400, Haizhu Liu wrote:
> I have this piece of code that does snmp_send and expects to get 
> response asynchorously.

>     I failed on snmp_send but if I change to:
> 
>     req = snmp_pdu_create(SNMP_MSG_GET);
> 
> It runs okay. I suspect snmp_send will handle SNMP_MSG_BULKGET
> just as it handles with SNM_MSG_GET, right?

It should do, yes.


>  What did I miss?

Enough detail about exactly what you did! :-)

You say that sending the GETBULK request fails.  What error
message was reported?   What SNMP version are you using?
What happens if you try with GETNEXT instead?

Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to