Hi, Excuse me, I can see that you had the same problem as i have. I need to transfer these files. Have you the answer? Regards
Zhiheng Xie wrote: > > > Hi, > > I am a beginner of ns2. Here is a very basic question. I want to write > some > simulation script for emulating file transmission above TCP. So I want to > set up several files with random size for transmission. And the interval > of > the transmission time is also random. Use FTP agent to transfer these > files. > The question is how can I determine the end of the transmission of one > file > so that I can start next one after some interval. In manual or other > tutorials of ns2, they only use the statement like $ns2 at 0.5 "$ftp send > $size". But the problem is that we don't know the exact time to send the > next file. So is there any methods to get the end of the transmission or > any > other alternative ways to do this simulation? Thank you very much! > > -- > Best, > > Zhiheng Xie > z...@virginia.edu > Department of Computer Science > UVa > > > > -- > Best, > > Zhiheng Xie > z...@virginia.edu > Department of Computer Science > UVa > > -- View this message in context: http://old.nabble.com/simulation-for-file-transmission-tp26401595p31529232.html Sent from the ns-users mailing list archive at Nabble.com.