On 03/01/07, payal singla <[EMAIL PROTECTED]> wrote: > We are mainly initializing the session , opening the session, creating pdu, > sending the pdu(trap) n closing the session. > main commands used for the above are: > snmp_open > snmp_pdu_create(SNMP_MSG_TRAP2) > snmp_send > snmp_close > > since we are able to receive the trap for the first time, this means that we > are going on the right track. but for the next time when we change that > host-name again, there is some problem related to the session as the > snmp_open commands fails and returns NULL. > Kindly point out the things which we might be missing
Please try posting the exact code that you are using. That might help in identifying what is going wrong. Dave ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ 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
