[ns] setting node distance

2007-03-05 Thread paul yoong
Hi all, I've been trying to set arbitrary distances for my sending nodes using the command $s1 set X_ 10.0 $s1 set Y_ 10.0 $s1 set Z_ 0.0 How do I find out if they have been repositioned because the nam animation does not show this. Thanks in advance

[ns] throughput graphs

2007-03-13 Thread paul yoong
Hi all, Can anyone tell me how I can measure the throughput of a link and then plot the graph of the results. Thanks in advance ___ What kind of emailer are you? Find out today - get a free analysis of your email

[ns] calculating throughput

2007-03-14 Thread paul yoong
Hi all, I need to calculate the throughput of a link by calculating [number of received bytes/number of sent bytes]. I have got the code to find out how many bytes were received but does anybody know how to find how many bytes were sent. Thanks in advance

[ns] calculating round trip time

2007-03-16 Thread paul yoong
Hi all, I'm trying to calculate the round trip time of a link which consists of a sender 2 routers and a receiver. It looks as follows: Sender--Router1Router2--Receiver If anyone can tell me if there is a command to calculate the RTT of a link it would be much appreciated

[ns] setting node distance

2007-03-19 Thread paul yoong
Hi all, I've been trying to set variable node distances using the command: $node 0 set X_ 100.0 but when I calculate the round trip time it always comes back the same. Am I setting the distances incorrectly and if so can anyone tell me how to rectify it. Thanks in advance

[ns] ping round trip time

2007-03-19 Thread paul yoong
Hi all, Just wanted to find out if this is the correct procedure to work out round trip time using a ping #Define a 'recv' function for the class 'Agent/Ping' Agent/Ping instproc recv {from rtt} { $self instvar node_ puts node [$node_ id] received ping answer from \ $from with

[ns] awk in cygwin

2007-03-27 Thread paul yoong
Hi all, I'm using ns 2.27 under cygwin but when I try to use the awk command I get the following error message: invalid command name 'awk' Can anyone tell me whether cygwin allows the awk command to be used. Thanks in advance

[ns] analysing the trace file

2007-03-28 Thread paul yoong
Hi all, I have a trace file with information in it. I know what the first 6 fields are but then after the --- there are more fields and I don't know what they are showing. If anyone can help it would be much appreciated. The trace file is shown below: + 2.5 2 3 tcp 40 --- 3 2.0 7.0 0

[ns] Fw: setting packet size

2007-04-26 Thread paul yoong
- Forwarded Message From: paul yoong [EMAIL PROTECTED] To: ns-users@isi.edu Sent: Thursday, 26 April, 2007 6:43:52 PM Subject: setting packet size Hi all, I have a network and am trying to set the packet size of my TCP packets. I'm a bit confused because I have a CBR attached to my