Re: [ns] run examples in ns2

2007-10-26 Thread WangYaogong
you should add relevant directories to the environment variables, otherwise bash could not locate where ns is. > Date: Fri, 26 Oct 2007 09:32:49 -0700> From: [EMAIL PROTECTED]> To: > ns-users@ISI.EDU> Subject: [ns] run examples in ns2> > > Hello ns-users,> > I > m installing ns 2.27 on Windows

[ns] Where can I find SCTP module for ns-2.26?

2007-10-22 Thread WangYaogong
Hi everyone, I'm looking for SCTP module for ns-2.26. I know sctp is now integrated into newer versions of ns-2 distributions. But I need the patch for ns-2.26. I googled it but found none. I tried to move the sctp-related codes in ns-2.31 to ns-2.26 but I failed. It will cause "segmentation fa

Re: [ns] TCP segment size vs. IP packet size

2007-09-13 Thread WangYaogong
1) It's the size in Bytes of the TCP payload, excluding TCP header and IP header. eg. If you set packetSize_ of the TCP Agent to be 1000, then the actual size of the IP datagram is 1040. You can validate this from the trace file. 2) I don't think it matters anything. Queue limit is measured i

Re: [ns] data rate of TCP traffic

2007-09-13 Thread WangYaogong
No, you cannot set the data rate of TCP. You can merely set how much data you want to send but you cannot set how fast they are sent. That's because the sending rate of TCP is determined by its own congestion control algorithms and the condition of the network. They are out of your control.

[ns] Help me with the DCCP module!

2007-09-10 Thread WangYaogong
Hi all, I'm using the DCCP module contributed by: http://lifc.univ-fcomte.fr/~dedu/ns2/ in ns-2.31. But when I tried the simple script in the attachment, I got the following error: DCCPAckVector::sendAckVector - Failed to add ack vector to option: err -1, size 254 Can anyone help me out? It

Re: [ns] For Throughput comparison of TCP Reno, Tahoe , SACK

2007-09-05 Thread WangYaogong
There is a classic paper on this: "Simulation-based Comparisons of Tahoe, Rent, and SACK TCP" by Kevin Fall and Sally Floyd. And the scripts used in this paper seem to be available in the ns package. > Date: Tue, 4 Sep 2007 22:31:09 -0700> From: [EMAIL PROTECTED]> To: > ns-users@ISI.EDU> Su

[ns] a question about Nils-Erik Mattsson's DCCP module

2007-09-04 Thread WangYaogong
I'm using Mattsson's DCCP module under ns-2.26. But when I simulate DCCP in large BDP networks, I sometimes get the following error and the program exits: DCCPAckVector::sendAckVector - Failed to add ack vector to option: err -1, size 256 I took a look at the source code and found that the err

Re: [ns] Generating background web traffic

2007-08-31 Thread WangYaogong
the following link may be helpful: http://www4.ncsu.edu/~rhee/export/bitcp/cubic-script/script.htm it's the script written by the inventors of CUBIC and it contains adding web traffic as background traffic. > Date: Fri, 31 Aug 2007 20:55:06 +0200> From: [EMAIL PROTECTED]> To: > ns-users@ISI.E

Re: [ns] segmentation fault

2007-08-22 Thread WangYaogong
"segmentation fault" usually stems from illegal access to the memory. check your code to see whether you illegally try to access some memory when it is already deallocated. usually it's because using pointers incorrectly. > Date: Wed, 22 Aug 2007 11:52:11 -0700> From: [EMAIL PROTECTED]> To: >