Lecture 7: Tcl, OTcl and ns-2 (e-Learning Edition)
October 2, 2009Due to university-wide e-Learning week, there will not be any analog lecture on 9 October. Instead, I am posting a series of screencasts below.
In this lecture, I will introduce a scripting language called Tcl, an object oriented extension of Tcl, called OTcl, and NS2, a network simulator, which is written in C++ and OTcl.
I structure the lecture to include things that you need to know for your Assignment 2. The segment on NS2 sometimes contains code that does thing magically. Don’t worry about it. Understanding the meaning of the value calculated (e.g. queue length, mean delay) suffices — you generally need not know the implementation details in NS2.
The best way to learn a new language/tool is to get your hands dirty and write some scripts yourself, play with different combinations/options, and see what happen.
The lecture is divided into four videos for practical reasons. The audio quality is not too good (my apology) but the video quality is excellent. You will need QuickTime video player to play the video (VLC might work too — it seems to play almost everything!)






October 3rd, 2009 at 10:29 am
It seems there is something wrong with the links. when I try to open the links error 404 appears. what is the problem?
October 3rd, 2009 at 11:09 am
I face the same problem.
October 3rd, 2009 at 11:41 am
yeah, same problem for all four links…
October 4th, 2009 at 7:23 am
Fixed. Thanks for letting me know.
October 4th, 2009 at 9:57 am
Will the slides seen in the videos be posted?
October 5th, 2009 at 12:13 pm
I wasn’t planning to. But
it is available here if you want a copy.
October 5th, 2009 at 11:17 pm
@Xinshu, @Amir Adelipour, @Yao Weixiang,
Download using “save link as…”. For example, in my case, it came down as “intro-to-tcl-1.html” and the size is 26.5MB. Html can no way be that big. Renamed this html to “intro-to-tcl-1.mov”.
And then play it using vlc or whatever player available to you.