On Tue, 26 Oct 2004 10:40:38 -0400 [EMAIL PROTECTED] wrote: CRC> Since snmp_synch_response() is giving me a timeout, I'm guessing that it's CRC> something about my connection setup that's broken: that I'm not finding CRC> the agent or the timeout is too short for the agent to respond or... Does CRC> that sound like the right place to look?
Sure. Try adding this line to your app: netsnmp_ds_set_boolean(NETSNMP_DS_LIBRARY_ID, NETSNMP_DS_LIB_DUMP_PACKET, 1); You'll need a log enabled (stderr, file, syslog, etc). You should then see any outgoing or incoming packets. Run the agent with -d to get the same effect, and then you should be able to see if a packet goes out, if the agent receives it, if the agent sends a response and if the app receives it. -- Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users