[ns] A question about DelayBox

2010-09-15 Thread Mobin Yazarlou
Hi, According to NS manual ( http://www.isi.edu/nsnam/ns/doc/node251.html ) add-rule command of DelayBox class sets a delay for packets flowing from src to dst but when I run the following script, d0 (DelayBox object) causes a delay for all packets in both directions. from src to dst and dst to s

[ns] Fwd: How to monitor TCP three way handshaking in NS2?

2010-09-14 Thread Mobin Yazarlou
ndow_ 100 # create traffic generator set ftp0 [new Application/FTP] $ftp0 attach-agent $src # run NS $ns at 0.5 "$ftp0 start" $ns at 5.0 "finish" $ns run -- Forwarded message -- From: Mobin Yazarlou Date: Tue, Sep 14, 2010 at 9:44 AM Subject: How to monitor

[ns] How to monitor TCP three way handshaking in NS2?

2010-09-14 Thread Mobin Yazarlou
Hi, Based on what I read in NS manual, FullTcp agent supports TCP three way handshaking but I don't know if it is possible to monitor this process or not. And also, I've got a problem with this agent.Could you take a look at the following script and tell me why it gives an error on "new Agent/TC

[ns] Fwd: What is a good resource to study telecommunication basics

2010-09-13 Thread Mobin Yazarlou
nsmission over a link.I think that's enought for a beginner but If you could share more and better resources, I would be happy to read them. Thanks, Mobin -- Forwarded message -- From: Mobin Yazarlou Date: Sat, Sep 11, 2010 at 9:54 AM Subject: What is a good resource to s

Re: [ns] What is a good resource to study telecommunication basics

2010-09-11 Thread Mobin Yazarlou
ords: bandwidth, data rate, link delay etc. > > Best Regards > > > On 11 September 2010 18:54, Mobin Yazarlou wrote: > >> >> Hi, >> Today I've installed ns-allinone-2.34 package on Linux and tried to start >> learning NS but after a couple of hours I fo

[ns] What is a good resource to study telecommunication basics

2010-09-11 Thread Mobin Yazarlou
Hi, Today I've installed ns-allinone-2.34 package on Linux and tried to start learning NS but after a couple of hours I found that it needs a good understanding of telecommunication basic concepts.Unfortunately my knowledge, as a software engineer, about Networking is limited to application level

Re: [ns] Problem with running NS2 after installation

2010-09-08 Thread Mobin Yazarlou
ariyakul/358240861417 > http://twitter.com/T_Bear > http://www.t-issariyakul.blogspot.com > http://www.ece.ubc.ca/~teerawat <http://www.ece.ubc.ca/%7Eteerawat> > > > > > > On 9/7/2010, "Mobin Yazarlou" wrote: > > >Hi, > > Thank you all for he

Re: [ns] Problem with running NS2 after installation

2010-09-07 Thread Mobin Yazarlou
Hi, no, what is it used for? Could you give me more guidelines? Thanks, Mobin 2010/9/7 Gang Zhou > Hi, > > Did you execute "export PATH" in bashrc file after changing PATH? > > > Best Regards > > Gang > > 2010/9/7 Mobin Yazarlou > > Hi Gang,

Re: [ns] Problem with running NS2 after installation

2010-09-07 Thread Mobin Yazarlou
and with this value for PATH environment variable, echo $PATH prints this: mo...@mobin ~ $ echo $PATH /nam-1.15/home/Mobin/ns-allinone-2.35-RC6 Which doesn't sounds correct to me.do you have any idea about this? Thanks, Mobin On Mon, Sep 6, 2010 at 5:52 PM, Tom Henderson wrote: > On 9/6/1

Re: [ns] Problem with running NS2 after installation

2010-09-06 Thread Mobin Yazarlou
t; " > means some lines in your .bashrc file can't be recognized by your shell. > > Maybe you should use dos2unix or other editor to convert your .bashrc file > to unix format. > > then relogin ,see if the LD_LIBRARY_PATH variable has been set right . > > > 2010/9/6 Mob

[ns] Problem with running NS2 after installation

2010-09-06 Thread Mobin Yazarlou
Hello, I've installed "ns-allinone-2.35-RC6" on the latest version of Cygwin (1.7) in WinXP twice but I still get the following error when I try to run NS2 by typing "ns" in cygwin prompt. mo...@mobin ~ $ ns /home/Mobin/ns-allinone-2.35-RC6/ns-2.35/ns.exe: error while loading shared libr aries:

[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 com