On 20 October 2010 11:44, Renjith R. V. <[email protected]> wrote:
>>Have a look at what error the 'snmp_send' routine is returning.
> I have checked errno, snmp_errno and err_string values once snmp_send()
> returned 0;
> But there is nothing in these fields(empty).
Of course there isn't.
You've defined your own local variables with the same names
(thus masking the system library versions).
And you've also assigned 0 to these variables *after* the snmp_send call
(which will have set the system library variables to indicate the error).
Either of these mistakes would individually be sufficient to prevent you
discovering what went wrong.
Dave
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders