>>>>> Jurkin Drazen writes:
[...]
Jurkin> But, I can not "catch" this TRAP message with this little TCL
Jurkin> script.:
[...]
Jurkin> after 30000
[...]
Jurkin> I started DOS tool trapsend while this TCL script is executing
Jurkin> (it runs for 30 seconds, because of after 30000), but I didn't
Jurkin> receive anything.
Jurkin> Where I made mistake?
The `after' command is blocks the process. It does not process any
events. So the script terminates before Tnm had a chance to read the
trap packet. Check the Tcl documentation on how you can fall into the
event loop (see after(n), vwait(n)).
/js
-- Juergen Schoenwaelder Technical University Braunschweig <schoenw@ibr.cs.tu-bs.de> Dept. Operating Systems & Computer Networks Phone: +49 531 391 3289 Bueltenweg 74/75, 38106 Braunschweig, Germany Fax: +49 531 391 5936 <URL:http://www.ibr.cs.tu-bs.de/~schoenw/>-- !! 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