Hi, Joachim

I am a NS2 beginner and  I use NS 2.30. I found a file called flood.tcl in 
~/tcl/mobility/flood.tcl. Does this means NS2 already includes the broadcast 
(or flooding) routing protocol for wireless network?  If it is could you 
please give me a simple example to show how to use it?

I appreciate any help and I need this answer very urgent.

Thanks.
----- Original Message ----- 
From: "Joachim Fabini" <[EMAIL PROTECTED]>
To:
Cc: "'Joachim Fabini'" <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2007 4:42 AM
Subject: [ns] NS tutorial update proposal


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