[ns] Runtime Error: glibc detected, ns: realloc(): invalid next size:0x09150380

2010-09-02 Thread Lee
Hi all, I have recently implemented a new protocol in NS2. The new protocol is based on the OLSR routing protocol, which runs correctly in NS2 before any modification. The compilation was successful, but when I tried to run NS2, I got the following error messages: *** glibc detected *** ns:

[ns] Problem sending a MAC layer broadcast

2010-09-02 Thread O S
hi, I am trying to send a MAC broadcast message in response to having overheard something. So I create and send a packet as follows (inside recvDATA before address filtering): Packet* report_pkt = Packet::alloc();

[ns] Is it possible to set a specific response delay for a node?

2010-09-02 Thread Mobin Yazarlou
Dear NS users, I am new to Network Simulator and don't know much about it's capabilities, so as the first question i wanted to ask if this software can help me with my project or not.I have to simulate a communication between 2 computers that use TCP as the communication protocol.one of these

[ns] calculate bandwidth!!!!!!!

2010-09-02 Thread Hosseini Nezhad
Dear all I am new in Ns-2 and I have a little question. I this page http://www.isi.edu/nsnam/ns/tutorial/index.html, are written: When you start the script now with 'ns example2.tcl', you will notice that there is more traffic on the links from n0 to n2 and n1 to n2 than the link from n2 to

[ns] Little question about SIFS_Waiting state in 802.11Etx in ns2.34

2010-09-02 Thread vitacai shun
Hi, all I encountered a little question about SIFS_Waiting state in802.11 DCF , while attemting to learn and extending the 802.11Ext implementation for NS2.34. When a node(A) receives a RTS frame, it will responds an CTS_1 after aSIFStime if these no NAV, which means

[ns] Average Path Length code for AODV and node used from source to destination

2010-09-02 Thread saaidal
Hi, If anyone has a code on how to calculate the average path length for AODV protocl, will be greatful if you can provide it here. My second question is how to know what hops the route taken from source to destination... Tq in advance