[ns] [bug] Mac header length is invalid

2008-05-12 Thread Takuya Murakami
[Bug Report] - Category: Other Package: ns 2.33 OS:Linux Environment Variables: LD_LIBRARY_PATH= TCL_LIBRARY= TK_LIBRARY= - Description: Description of Problem: 1) In mac/mac.h, the MAC_HDR_LEN is defined as 64 (byte). But stru

[ns] How to write on a tracefile and run Xgraph

2008-05-12 Thread Abhinav Singhal
Dear friends, I have developed a new routing algorithm based on genetics.As the result of my code,I have the values of two variables set:No. of elements and No. of generations. I need to plot a graph between these two variables.For that, I need to write them to a tracefile. How do I do that? Pleas

[ns] how to identify a data packet in ns2

2008-05-12 Thread fatma louati
Hi everybody, I wonder can I identify a data pachet? I mean I already have source and destination adress, but is there any field which indicates that I'm receiving a data packet belongs to this or that traffic. I'm working on AODV routing protocol and I need to identify the pachet of data.

İLT: [ns] how to set the speed of the nodes in ran dom movement

2008-05-12 Thread Semra YILMAZ
Deal all, I want to set the speed of the nodes for random movement scenario. I use the following lines in tcl, but it does not change the speed of the nodes. If you have any idea, I will appreciate. $node_($i) random-motion 1 $node_($i) start $node_($i) set speed_ 30 Regards, Semra #

Re: [ns] TCL commands

2008-05-12 Thread Mubashir Rehmani
Hi I think that you should use the following commands to call Tcl command in your C++ code for instance, if you want to call $ns now in your C++ code then you may use this Tcl& tcl = Tcl::instance(); tcl.evalf("$ns now"); float g=atof(tcl.result()); the above command will get the curre

[ns] R: throughput of 802.11b

2008-05-12 Thread Marco Fiore
You might find the following link interesting: http://www.ece.rice. edu/~jpr/ns/docs/ns-802_11b.html bye, Marco >Messaggio originale >Da: [EMAIL PROTECTED] >Data: 11-mag-2008 10.46 AM >A: >Ogg: [ns] throughput of 802.11b > > >Hi all, >I have tried to run 802.11b in ns2, and I

[ns] TCL commands

2008-05-12 Thread Sidney Doria
Hi, I suppose this can be very easy, but after read the chapter 3 of ns-2 manual: how to call a TCL command from C++ code? For instance, I use many commands in .TCL code, just like: $ns_ at 0.10 "$node_(0) join 0xE00" *** How can I do a "join 0xE00" from the node (using C++)?

[ns] How to work in eclipse for NS-2 new protocol

2008-05-12 Thread GEORGIOS KIOUMOURTZIS
I haven't worked with eclipse but I have been working with KDevelop on a Fedora 8 OS and It works just fine,never crashes. I have posted some simple instructions in my personal web page http://gkioumou.googlepages.com/home br -- Georgios Kioumourtzis,MSc Computer Engineering and Informatics D

[ns] ns2.1b7 install problems

2008-05-12 Thread aniek laksmidewi
Help me please.! - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.

[ns] Rumor routing

2008-05-12 Thread Fatemeh Kiaei
Hi I am working on routing protocols by using NS-2 Can any body tell me how i can use NS-2 code for Rumor routing algorithm in Wireless Sensor Networks? Thanks in advanced Fatemeh

[ns] Collision in NS2

2008-05-12 Thread Rajiv Nakarmi
Sir, I came to know about you from your university site. I am M. Sc student from Nepal. I am doing my thesis in Wireless QoS. I am trying to implement 802.11e and compare it with previous legacy 802.11. While implementing it using TCL scripts in NS2, I couldn't make a collision environment. At an