Lecture 7: Tcl, OTcl and ns-2 (e-Learning Edition)

October 2, 2009

Due 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!)



7 Responses to “Lecture 7: Tcl, OTcl and ns-2 (e-Learning Edition)”

  1.   Amir Adelipour Says:

    It seems there is something wrong with the links. when I try to open the links error 404 appears. what is the problem?

  2.   Yao Weixiang Says:

    I face the same problem.

  3.   Xinshu Says:

    yeah, same problem for all four links…

  4.   weitsang Says:

    Fixed. Thanks for letting me know.

  5.   Bee Chang Says:

    Will the slides seen in the videos be posted?

  6.   weitsang Says:

    I wasn’t planning to. But
    it is available here if you want a copy.

  7.   noel Says:

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

Leave a Reply

*
To prove you're a person (not a spam script), type the security word shown in the picture.
Anti-Spam Image