beautypg.com

Esnmp_cleanup – Compaq AAR04BCTE User Manual

Page 123

background image

eSNMP API Routines

esnmp_cleanup

esnmp_cleanup

Closes open sockets that are used by the subagent for communicating with the
master agent.

Format

esnmp_cleanup ( );

Example

#include "esnmp.h"
int rc = ESNMP_LIB_OK;
rc = esnmp_cleanup();

Return Values

ESNMP_LIB_NOTOK

There was no socket.

ESNMP_LIB_OK

Success.

eSNMP API Routines 5–65