Re: [ns] Problems using DSR

2005-12-18 Thread Hailun Tan
it gave a "Segmentation fault (core > dumped)" error. > > Any help would be very gratefully received, > Many thanks, > David > > Hailun Tan tel:02 8374 5456 email:[EMAIL PROTECTED] Research Assistant ATP,Sydney -

Re: [ns] mobile node communication range

2005-12-18 Thread Hailun Tan
ards, Shahram Mohrehkesh > -------- Hailun Tan tel:02 8374 5456 email:[EMAIL PROTECTED] Research Assistant ATP,Sydney -- This email and any attachments may be confidential. They may contain legally privileged information or copyrig

[ns] some problem about the packet arrivals in NS-2

2005-12-21 Thread Hailun Tan
Hi, All: I am implementing some routing protocol in network layer. I check the source code and find out that when the packet arrives the desired destination, it was received "immediately" by the application layer of the destination. it did not invoke the recv method in the routing agent, whic

[ns] some problem about the packet arrivals in NS-2

2005-12-21 Thread Hailun Tan
Hi, All: I am implementing some routing protocol in network layer. I check the source code and find out that when the packet arrives the desired destination, it was received "immediately" by the application layer of the destination. it did not invoke the recv method in the routing agent, whic

Re: [ns] problem with sctp module[original ns-allinone-2.28]

2006-01-11 Thread Hailun Tan
./autoconf.h:89: error: expected namespace-name before ';' token ./autoconf.h:89: error: ''is not a namespace make:***[tools/random.o] Error 1 Ns make failed! change the relevant part in autoconf.h accrodingly ,and sometimes the problem is "CPP_NAMESPACE is not declared". It is a warning!!It doe

Re: [ns] how to create .o file

2006-01-19 Thread Hailun Tan
It is the outcome of compilation... not created by you!! > > sirplease help me how to create .o files. thanks in advancewith > regardsprethija > > ___ > No banners. No pop-ups. No kidding. > Make My Way your home on the Web - http://www.myway.com >

Re: [ns] mobile node ?

2006-01-21 Thread Hailun Tan
I think you can do that, but ARP will complain later when you tried to schedule the different data flow from the same source at the same time > [ns] mobile node ? > > Hi, > Can a single mobile node in ns 2.28 support generating several flows at > the same time ? > For example : I want to

Re: [ns] Defineing new trace format ?

2006-01-23 Thread Hailun Tan
Check the trace functions in ns/TORA/TORA.cc,h > > Dear All, > I want to define a new trace format to my simulations. I would > appreciate if any1 can give me any links for - How to define new trace > formats. more specifically i would be looking to the pointers which > will guide me the exact

Re: [ns] How can I make a simulation delay in ns2?

2006-01-23 Thread Hailun Tan
create timer in your codes inherited from TimerHandler class so that the event can be triggerred after a certain amount of the time -- This email and any attachments may be confidential. They may contain legally privileged

Re: [ns] Agent::recv method not reached

2006-01-25 Thread Hailun Tan
different way and the recv() in routing agent does not get invoked at all...The solution also lies in that structural diagram!!!Think about the condition on which address classifier and port classfier will make different selection!! Hailun Tan > > Hi There, > Thank you again for the reply. This

Re: [ns] Agent::recv method not reached

2006-01-25 Thread Hailun Tan
lies in that structural diagram!!!Think about >> the >> condition on which address classifier and port classfier will make >> different selection!! >> >> Hailun Tan >>> >>> Hi There, >>> Thank you again for the reply. This is not my work, I

Re: [ns] HELP - Accessing MAC queue from Routing Agent

2006-01-27 Thread Hailun Tan
Use the tcl.eval() function > [ns] HELP - Accessing MAC queue from Routing Agent > > Dear friends, > does anybody what I should do to access the IFq Lenght from the AODV > Agent? > It's pretty urgent, any suggestions is welcomed. > Thank you in advance. > _

[ns] How to multicast from application layer?

2006-01-29 Thread Hailun Tan
Hi, Is there anyone who knows about multicasting the packets from application layer? ( similiar to cbrgen.tcl, but that is a unicast application) Any suggestion is appreciated!!! -- This email and any attachments

Re: [ns] Needed help in TORA Simulation

2006-02-01 Thread Hailun Tan
First of all, what version of NS are you using? if it is before NS2.26, TORA should be OK, otherwise, you have to insert the following code into command function in tora.cc so that tora can work: int TORA::command(int argc, const char*const* argv) { . if(argc == 2) { . else if (strcmp(

Re: [ns] problem running examples !!!

2006-02-02 Thread Hailun Tan
easy!!! type startxwin.bat in cygwin terminal, which will lead you to another terminal... There you can use nam!!! > [ns] problem running examples !!! > > Hi i have a problem in running some basic examples in ns-2 ... am > using ns-2 (v. 2.29) on cygwin for windows !! here is the result from

Re: [ns] Please help : Probelm in AODV protocol

2006-02-03 Thread Hailun Tan
Check ns/tcl/lib/ns-lib.tcl... you will find out where this error message comes from and how to fix it!! > > Hi everybody >I am doing modifications to AODV protocol. I have added new packet > types along with AODV_HELLO, AODV_RREQ etc... when I am sending a packet, > I > am receiving an

Re: [ns] Error: Scheduler: Event UID not valid!

2006-02-08 Thread Hailun Tan
This error means that you schedule the packet to send and process the SAME packet in other way such as drop or packet::free(p)...etc before it is sentcheck your code... > > Dear all, > > I am getting the following error. Please let me know what's going wrong. I > need this today. > > Schedul

Re: [ns] difference between ns and ns_ ?

2006-02-09 Thread Hailun Tan
It has nothing to do with NS2... It is one of the best ways to define the other relevant variables without thinking of any other words to represent it... > > Hi, > > I understand that the two are the same. But I would like to know why is > there the tendency to put an 'underscore' at the end of t

[ns] How to calculate the bandwidth occupied by packets?

2006-02-14 Thread Hailun Tan
Hi, All: Does anyone know how to caclculate the bandwidth used by the packet during simulation? Or Is there any way that such figures can be obtained in the simulation (I know how to write the data in to trace file but I just don't know how i can get the data) so that the analysis on the netwo

[ns] About Full-traffic flows in NS2

2006-02-19 Thread Hailun Tan
Hi,all: I wondered if there is anyone who ever tested the full-traffic flows in NS2 (i.e: given n nodes in the network, there are n*(n-1)/2 traffic flows running in simulation, which means that there is traffic flow for any two distinct nodes in the network)... I tried it these days and found