[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] question about ns



Hi, 

I am a new user of ns, and I have a question on how to use ns. 

I want to feed a text file of packet profile into ns. The following is the
starting part of the file:

1 1440 925 
2 1440 2069 
3 1440 3710
4 1440 5936 
5 1440 8307
6 1440 10362 
...

each line is: packet_num packet_size sending_time_in_us

I wonder how I can feed this file into ns and do simulation. Can anybody
give me a clue on how to do this? Do I need to create an agent of some
kind to handle this? or is there any command line in that I can use to
send a single packet out?

Thank you very much in advance!
Suiqiang