[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] ftp with FullTCP: packet size
I am running simulations of a ftp application over fulltcp. I want to set the
packet sizes it sends with to 1000 bytes. However, even though I have set both
the fulltcp agent to packetsize 1000 bytes:
set tsnd0 [new Agent/TCP/FullTcp]
$tsnd0 set packetSize_ 1000
and the ftp application to 1000 bytes:
set ftp0 [new Application/FTP]
$ftp0 attach-agent $tsnd0
$ftp0 set packetSize_ 1000
The protocol still sends in packets of 576 bytes (with setup packets of 40
bytes).
Is there another variable that I should be setting to 1000 bytes?
Thank you.
Julian