Re: dynamic load

Juergen Schoenwaelder (schoenw@cs.utwente.nl)
Tue, 25 Feb 1997 12:20:20 +0100

Simon Chow <skchow@cisco.com> said:

Simon> I am trying to use tclsh and dynamic load scotty. I am using TCL 7.6
Simon> and scotty 2.1.5 on Sun SparcStation running SunOS 5.5. After I enter
Simon> tclsh, I issue the command "package require Tnm 2.1", that works, all
Simon> the scotty commands are available.

Simon> However, whenever I try to use a scotty command which requires network
Simon> connections (such as snmp, ntp, udp, etc) I got some kind of error
Simon> message:

Simon> $ tclsh
Simon> % snmp session -address 10.20.10.41
Simon> snmp0
Simon> % snmp0 get sysUpTime.0
Simon> sendto failed: socket is not connected
Simon> % ntp 10.20.10.156 a
Simon> udp sendto failed: socket is not connected

Simon> scotty itself works find. Can anybody help me?

This must be an installation problem because I have developed on SunOS
5.5. Make sure your tclsh has all the SunOS 5.5 networking libraries
linked in. If in doubt, remove everything and recompile Tcl/Tk/Scotty
from scratch.
Juergen

-- 
Juergen Schoenwaelder schoenw@cs.utwente.nl http://www.cs.utwente.nl/~schoenw
Computer Science Department, University of Twente,   (Fax: +31-53-489-3247)
P.O. Box 217, NL-7500 AE Enschede, The Netherlands.  (Tel. +31-53-489-3678)
--
!! 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.