My agent terminates because status = -21

Jochen Katz katz____agentpp.com
Wed Apr 3 21:12:30 CEST 2002


Hi,

> My agent terminates right after I have started it because the status = -21.
> What can be possible causes and solutions to this?

> 	Snmpx snmp(status, port); // Here I get status = -21

#define SNMP_CLASS_TL_IN_USE   -21 // transport in use

it seems that some other program (possibly an earlier startet agent) is 
listening on port 4700. You can call snmp.error_msg( status) to get a 
string description for the status code.

Kind regards,
   Jochen




More information about the AGENTPP mailing list