snmp_sess_close(ss) with exception error under Win2003

"Sven Koos" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Providing the following snmp_sess sequence the last operation snmp_sess_close(ss) provides to an exception error under Windows 2003.

snmp_sess_init( &session );
...
sessp = snmp_sess_open(&session);
ss = snmp_sess_session(sessp);
...
pdu = snmp_pdu_create(SNMP_MSG_GETNEXT);
...
read_objid(OidStr, anOID, &anOID_len);
snmp_add_null_var(pdu, anOID, anOID_len);
...
status = snmp_sess_synch_response(sessp, pdu, &response);
...
if (response)
	snmp_free_pdu(response);
snmp_sess_close(ss);

What can I do? Any idea?

Thank You for support.

Regards, Sven.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.