[tkined] bind trap command appears stuck sometimes

Gadre, Abhay (agadre@nlc.com)
Fri, 12 Jun 1998 09:31:06 -0700

hello all,

I am using the following in a tcl script to monitor some trap events.

set traphandle [snmp session -port 162]
if { [catch {$traphandle bind {} trap "trapHandlerProc %A %V"}] != 0} {
puts stderr "failed to create a trapsink."
}

I am running into a situation where sometimes the bind command will not
return. Just appears stuck. Does anybody have any idea why this might be?
Are there some kind of blocking waits related to this command? I suspect the
problem occurs if there is an abnormal exit from the scotty script (eg :
logging out without exiting from the script). But I have not been able to
confirm it. I am using tcl7.6 and scotty 2.1.7 on a Solaris machine.

TIA,
Abhay.

--
!! 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.