visual c++ - How to solve SNMPAPI_NOOP error? -


i'm new around here hope find answer question. i'm supposed write winsnmp application, learned how process has , code working fine until comes receive message.

this part of code got error.

hsnmp_entity recsrcentity; hsnmp_entity recdstentity; hsnmp_context reccontext; hsnmp_pdu recsnmppdu; snmpapi_status snmprmsgn = snmprecvmsg(session, &recsrcentity, &recdstentity, &reccontext, &recsnmppdu); if (snmprmsgn == snmpapi_failure) {      cout << "error: message not received." << endl;     getchar();     snmpapi_status = snmpgetlasterror(session); // error code 8 : snmpapi_noop     return snmpgetlasterror(session); } 

if needed can provide more of code.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -