[ns] how to send a 5 MB File
Sun Apr 14 12:55:19 2002
I was trying to send 5 MB data by using following statements
set numPktsToSend 3591 (as 3591 * 1460 = 5MB)
$tcp packetSize_ 1460
$tcp advance $numPktsToSend
This sends the required amount of data only if there are NO retransmissions.
In the case of retransmission, it sends 5MB of data but some of this is
retxmitted data. So, original 5MB data transfer is incomplete.
I am checking the number of bytes transferred by measuring "ndatabytes_ "
inside a proc which executes itself after some time.
So can anybody tell me how to send a X MB file when retransmissions can also