It might be because of some invalid packet request . Use wireshark or tcpdump 
to verify what kind of snmp packet is received.Verify port number, type of snmp 
request and requested oid.This might help you a bit.
Regards


> Date: Tue, 27 Dec 2011 13:30:44 +0100
> Subject: SNMP request
> From: mech.lou...@gmail.com
> To: net-snmp-users@lists.sourceforge.net
> 
> hi,
> 
> environment: gcc 4.5 under Ubuntu 11.04
> I'm trying to implement a C application that sends an snmp request
> (snmp get) to retrieve some information (variables) from the local MIB
> but when executing the program it seems that it is not able to get the
> response from the snmp agent
> any ideas? please help me
> 
> thanks in advance
> leila
> 
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create 
> new or port existing apps to sell to consumers worldwide. Explore the 
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
                                          
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to