Re: [ns] ns-allinone-2.29 installation problem

2006-04-18 Thread Adrian Sai-wah Tam
There are some problem on the scripting of configure. Mostly due to the back-tick characters. When I was installing ns-2.29, I did some debug to go thou' this. science wrote: >I tried to install ns-allinone-2.29 on FreeBSD 6.1. > >After typing "./install" at /usr/local/src/ns-allinone-2.29, >I g

Re: [ns] Can't set DISPLAY env. variable for NAM

2006-03-12 Thread Adrian Sai-wah Tam
Did you start your X? normally, you don't need to export DISPLAY manually if you have X, it should be exported automatically. Emre CAN wrote: >hi, > >I'm trying to start nam, > >I did "export DISPLAY=localhost:0" and then checked it with "echo $DISPLAY" it >was ok, but I get the "couldn't conne

Re: [ns] tcp streams to bursts

2006-03-11 Thread Adrian Sai-wah Tam
Then, obviously the receiver. Look for the tcp-sink.c amrutha ravichandran wrote: >Hi, >I need to convert the tcp stream to bursts using sliding window.. >For instance if the window size is 10 on the reciever , then on all >acknowledgements except the last one i have to advertize zero window siz

Re: [ns] Help needed, Problem in installing NS-allinone-2.27 in linux

2006-03-11 Thread Adrian Sai-wah Tam
Are you using x86_64 architecture (i.e. fairly new AMD cpu)? Probably the source code is not supposed to be used on this arch. Nagender Annem wrote: >HI >when I try to install ns-allinone-2.27 in *linux*, I am getting the >following error, >I did had the patch file ns227-gcc34.patch > >* Build O

Re: [ns] diff b/w ns in linux & windows

2006-03-08 Thread Adrian Sai-wah Tam
So far as I know, there is just one difference: the speed. Kavi priya K wrote: >Hai all, > I would like to know the difference between ns in linux and windows. > > Thanks. > > >- > Jiyo cricket on Yahoo! India cricket >

[ns] delete $self

2006-03-03 Thread Adrian Sai-wah Tam
In those objects like Agent/TCP, we can implement the "done" function so that it is called whenever it is stopped. However, if I call "delete $self" in the done function, it shows some error message such as "pure virtual method called" or "Wrong number of wnd_init_option_ 1065646817". So, if I wa

Re: [ns] otcl configure script dies

2006-02-26 Thread Adrian Sai-wah Tam
For unknown reasons, the configure script seems to have (syntax) problems. Use an editor with Bourne shell syntax highlighting to edit this script then you can see where the problem arose. For many times, I use this method to fix the installation bugs, but interestingly, the bugs are machine-depe

Re: [ns] Moving Variables between the connections level

2006-02-26 Thread Adrian Sai-wah Tam
Take FTP as an example, the FTP (application) has a variable called agent_ which points to the agent (e.g. TCP) it attached. On the other hand, the agents will have a variable called app_ that points to the application it is attached to. So you can use it to get/change the variable, either directl

[ns] Makefile (was: Re: Ns-users Digest, Vol 26, Issue 26)

2006-02-26 Thread Adrian Sai-wah Tam
Hi, makefile.in is the core makefile that used by configure script. Change this one for permenant use makefile.vc is same as makefile.in but for use with Visual C++, which means, play with this when you compile ns with Visual C++. makefile is created by the configure script. Once you re-run confi

Re: [ns] TCP in ns

2006-02-26 Thread Adrian Sai-wah Tam
That's basically in tcp/* But there are so many variants of TCP over there and you may need to spend some time to understand how to code works. amrutha ravichandran wrote: >Hi, >I want to change the way sliding window works in TCP.. >that is i want to change the way it advertises window size. >w

Re: [ns] need material reg xgraph.... urgent!!!!!

2006-02-20 Thread Adrian Sai-wah Tam
Personally, I would suggest to use GNU Plot (http://www.gnuplot.info/). It is on one hand a more feature package and on the other hand a newer and modern tool. You can find a better documentation (than xgraph) on its web. maha lingam wrote: >dear friends, >i am mahalingam doing my final