> Of course, when I said, "snmpget()", I meant, "snmp_synch_response()".

Since snmp_synch_response() is giving me a timeout, I'm guessing that it's something 
about my connection setup that's broken: that I'm not finding the agent or the timeout 
is too short for the agent to respond or...  Does that sound like the right place to 
look?

My code does:
    snmp_sess_init( &session );
    
    session.peername = "localhost";
    session.retries = 1;
    session.version = SNMP_VERSION_2c;
    session.community = "config";
    session.community_len = strlen(session.community);

And I note that snmp_sess_init() sets:
  timeout
  securityModel
  remote_port
  rcvMsgMaxSize

Are any of those defaults different in 5.2 from 5.1.1?  Are there any other fields of 
snmp_session that I need to set:

  flags
  subsession
  next
  localname
  local_port
  authenticator
  callback
  callback_magic
  s_errno
  s_snmp_errno
  sessid
  sndMsgMaxSize

?





-------------------------------------------------------
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

Reply via email to