[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

[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

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

2010-09-14 Thread Mobin Yazarlou
# 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 yazarlo...@gmail.com Date: Tue, Sep 14, 2010 at 9:44 AM Subject: How to monitor TCP three way

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

2010-09-13 Thread Mobin Yazarlou
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 yazarlo...@gmail.com Date: Sat, Sep 11, 2010 at 9:54 AM Subject: What is a good resource to study telecommunication basics To: ns-users

[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

Re: [ns] Problem with running NS2 after installation

2010-09-08 Thread Mobin Yazarlou
http://www.ece.ubc.ca/%7Eteerawat On 9/7/2010, Mobin Yazarlou yazarlo...@gmail.com wrote: Hi, Thank you all for helping me to solve this problem.The reason for getting bash: ns: command not found error was trying to run NS by typing ns, not ./ns. Now I can use NS and also NAM by going

[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: ?:

Re: [ns] Problem with running NS2 after installation

2010-09-06 Thread Mobin Yazarlou
. 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 Mobin Yazarlou yazarlo...@gmail.com Hello, I've installed ns-allinone-2.35-RC6 on the latest version of Cygwin

[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