[ns] neighbor list

2009-05-29 Thread neeraj gupta
Hi all i have written a small function to find out all the neighbors of a node. The problem where should i place this function and from where this function is to be called. Initially i placed in mac802_11.cc and called it from recvCTS function but on running the script the i got segmentat

[ns] S-MAC x 802.15.4

2009-05-29 Thread Caio Marziale
Hi, Can anyone clarify what is the difference between S-MAC and 802.15.4? S-MAC is Simple MAC? See the following text: "Freescale's Simple MAC (SMAC) provides a simple and cost effective solution for wireless networking. Based on the 802.15.4 PHY, it provides command to create simple point-to-

[ns] mannasim installation error

2009-05-29 Thread Ravit Sachasiri
> Dear all, > > I am just starting to use NS2 and mannasim and when I tried to install > ns-allinone2.29.3 after applying the mannasim patch, I get the following > error: > > > In file included from mannasim/processing.h:44, > > from > mannasim/accessPointApp.h:45, > >

[ns] what is the default sctp port in ns2

2009-05-29 Thread suncy84
I want to send a message from aodv to sctp using demux_recv(),I should set the IP header before send it, anyone tell me the value of ip->dstport for SCTP,Is it 0?

Re: [ns] what means these lines

2009-05-29 Thread Teerawat Issariyakul
Dear Rania, These are basic Tcl language. You may have a look at the following books. - T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator NS2", Springer 2008. http://www.springer.com/engineering/signals/book/978-0-387-71759-3 - [C. Flynt, “Tcl/Tk: A developer guide,” Morgan Ka

[ns] Possible to interrupt and continue ns simulation?

2009-05-29 Thread Frank Weber
Hi, I am a newbie in NS 2, running V2.33, and having the following general question: Is it possible to interrupt a started NS simulation, and continue after changing certain NS 2 input parameter values (e.g. with a different packet size for a CBR flow)? The interruption and value changing should

[ns] what means these lines

2009-05-29 Thread Rania Kamal
Hi All i want to know what these lines means? proc usage { argv0 }  {  puts "Usage: $argv0"  puts "\tmandatory arguments:"  puts "\t\t\[-x MAXX\] \[-y MAXY\]"  puts "\toptional arguments:"  puts "\t\t\[-cp conn pattern\] \[-sc scenario\] \[-nn nodes\]"  puts "\t\t\[-seed seed\] \[-stop sec\] \[-t

[ns] Capture threshold

2009-05-29 Thread Rania Kamal
hi all i have a question about Capture threshold, i don't know what does it means? i found the following: "Phy/WirelessPhy set CPThresh_ 10..0", Capture threshold which determines the strength of the radio signal for capture to occur. thanks