Hi

You are, of course, 100% correct - the tutorial is outdated and its very
confusing to first time users.

One problem is that, in general, NS2 users ask much, but contribute little
when they have their questions solved - either by the help of somebody, or
by their own.

Some examples from my personal experience:
http://mailman.isi.edu/pipermail/ns-users/2006-June/056015.html
http://mailman.isi.edu/pipermail/ns-users/2006-January/053560.html

-----

Regarding this particular topic, what I suggest is to:
 -  create a page about NS2 tutorials in the NS2 wiki, which could be used
to detail the important changes for recent versions of NS2 of this, and
possibly other tutorials.
http://nsnam.isi.edu/nsnam/index.php/Main_Page
- the next step would be to port the Marc Greis's tutorial to the Wiki (at
first, a simple 1 page per chapter copy would be sufficient), which would be
much easier to maintain afterwards.

However, in my opinion, major improvements in problems like this will
only be possible if more users take the action to contribute.


Pedro Vale Estrela
http://tagus.inesc-id.pt/~pestrela/ns2/


On 1/11/07, Joachim Fabini <[EMAIL PROTECTED]> wrote:
>
>
> Hi all,
>
> I noticed that section VII of Marc Greis' tutorial is seriously
> out of sync with the NS 2.30 sources.
>
> First, the ping example is now included in the apps
> directory of the ns distribution (this is worth mentioning in
> the tutorial text),
> Second, some functionality has been added to the apps/ping example
> (e.g. broadcast) and
> Third, the location, encapsulation and access methodology for some
> (former) member variables has been changed (improved imho, but
> with the drawback of not being backward compatible).
>
> Specifically the third aspect requires to update the tutorial.
> Newbies are likely to be confused by the changes and compiler
> errors when they write their own protocols based on the ping
> sample as a template. The tutorial ping uses members which are
> no longer valid - e.g. off_ip_, which was apparently replaced
> by hdr_ip::access(); the src_ member which apprently was changed
> to a struct, yielding the former src_ in src_.addr_, etc.).
> NS is sufficiently complex for newbies, anyhow. ;)
>
> I therefore suggest to reflect these changes of the ping sources
> back to the tutorial, and, in addition, modify the comment on
> line 55 of the NS 2.30 apps/ping.h file (and cc-file) requesting
> that future changes be reflected to section VII the NS Tutorial.
> (The tutorial/examples directory seems to anyhow no longer
> exist)...
>
> Thanks in advance,
> best regards
> --Joachim
>
>

Reply via email to