hi,
 
where can i find documentation of the function
snmp_synch_response? 
 
look at this code
 
 int status,df;
 
 df =
 read_objid("HOST-RESOURCES-MIB::hrStorageType.8",
 id_oid1, &id_len1);
 
 snmp_add_null_var(pdu, id_oid1, id_len1);
 status = snmp_synch_response(sess_handle, pdu[nm-1],
 &response);
 
 in this case "HOST-RESOURCES-MIB::hrStorageType.8"
 is
 an invalid OID since the valid ones range from
 "HOST-RESOURCES-MIB::hrStorageType.1" to
 "HOST-RESOURCES-MIB::hrStorageType.6". Question is
 how
 
 can i detect that the specified OID is invalid. As
 even in this case the value of df = 1(means
 successful) and status =0(again means successful).
 checking which variable can tell that this OID does
 not exist.
 (Plz dont suggest me to go through the code of
 snmpwalk or snmpget)

 thanking u,
 anubhuti
 
 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to