[tkined] trap/bind problem

From: Jurkin Drazen (drazen.jurkin@siemens.hr)
Date: Fri Mar 02 2001 - 12:47:45 MET


Please, can you help me with this.

When I want to "bind" a trap in this way:

set sid [Tnm::snmp listener]
$sid bind trap {
 incr iTrapRec
 puts "\nReceived SNMP PDU %T:\nRequest-Id %R in session %S from %A port %P"
 puts "\nContents: %V\nError status: %E ---Error index: %I\n Traps received
so far: $iTrapRec"
 }

I got the following message (but not always. Just sometime):

can not bind socket: address already in use

    while executing

"$sid bind trap {

 incr iTrapRec

 puts "\nReceived SNMP PDU %T:\nRequest-Id %R in session %S from %A port %P"

 puts "\nContents: %V\nError status: %E ..."

Please, can someone explain me the errror and why the error is occured.

Thanks a lot !!!

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.



This archive was generated by hypermail 2b29 : Thu Jan 03 2002 - 14:56:26 MET