[ns] TCP's packet size does not vary with the FTP's packetsize.

2008-09-25 Thread Mayur
Dear all, I am using simple FTP over TCP. In ns, from the application layer (ftp) Though I send small packets, (eg. 100 bytes using '$ftp_($i) send 100' ), TCP's packet size remains fixed equal to 1000. What is the reason? How to change it. I tried to study the tcp.cc's send and sendmsg()

Re: [ns] Problem with Scheduler

2008-09-25 Thread Maurizio Bellemo
Hi all, I have a little problem with the Scheduler. I schedule some packets in my program Scheduler::instance().schedule(target_, p, (100/tcf_time)); but when i try to cancel some of them from the queue not to be sent Scheduler::instance().cancel(p); drop(p); It doesn't work. I read

[ns] Help with scheduler

2008-09-25 Thread Maurizio Bellemo
Hi all, I have a little problem with the Scheduler. I schedule some packets in my program Scheduler::instance().schedule(target_, p, (100/tcf_time)); And then I registers all the scheduled packets with packet source and packet uid map nsaddr_t, scheduler_uid_t scedPackets; Then i wait to

[ns] tclcl-1.0b12 make failed

2008-09-25 Thread kassahun Endris
Hi all, I get error when I install ns-allinone-2.1b9a-gcc32.tar.gz in fedora 9. tclcl-1.0b12 make failed! the detail is shown as below. I can' able to get solution. Is there any one debugs this problem? please help me. thank you ==... * Build Tclcl-1.0b12

Re: [ns] TCP's packet size does not vary with the FTP's packetsize.

2008-09-25 Thread Mayur
Tatiana Polishchuk wrote: Did you try to change the header size? Pls refer to the chapter 12.1.2 of the ns2 tutorial. Tatiana On Thu, Sep 25, 2008 at 9:03 AM, Mayur [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Dear all, I am using simple FTP over TCP. In ns, from the

Re: [ns] TCP's packet size does not vary with the FTP's packetsize.

2008-09-25 Thread Mayur
Mubashir Rehmani wrote: Hello I hope that you are fine. I think that the TCP Header length will remain same: For instance if you are sending FTP Data = 300 then Total size = FTP Data + TCP Header FTP Data = 200 TCP Header = 1024 Total size = 200 + 1024 FTP Data = 300 TCP Header =

Re: [ns] TCP's packet size does not vary with the FTP's packetsize.

2008-09-25 Thread Mats Folke
Hi! It is a fundamental property of TCP to set the packet (segment) size of its own. This is set with respect to path MTU, and various buffers. Thus, the size of the incoming FTP packets will not impact the outgoing segment size, since TCP is a byte-oriented protocol. However, ns-2 is not a

[ns] ifq length is always zero

2008-09-25 Thread Amita Singh
To: ns-users@isi.edu

[ns] how can i simulate a internet traffic?

2008-09-25 Thread Breno Caetano
Dear NS-Users I need simulate a internet traffic to measure performance of my system. However, i dont know how i set the parameters for my traffic stay like internet traffic. Other question, anybody can tell me i use the congestion control at TCP Protocol? please, i need any help so much.

Re: [ns] TCP's packet size does not vary with the FTP's packetsize.

2008-09-25 Thread Mayur
Mats Folke wrote: Hi! It is a fundamental property of TCP to set the packet (segment) size of its own. This is set with respect to path MTU, and various buffers. Thus, the size of the incoming FTP packets will not impact the outgoing segment size, since TCP is a byte-oriented protocol.