Re: [ns] Problem generating a Trace File

2011-09-10 Thread Natalya
Hi, If I really understand your problem, you need to the random size for each packet but using CBR traffic model? Why not modify the CBR application c++ code and modify the variable size_ ( which is usually have its value from bind with tcl script ). So in the function which sends the packet you

[ns] Problem generating a Trace File

2011-09-10 Thread Mostafa Shahverdy
Dear all, I am new to NS and I am sucked with a problem that I can't solve, I need to generate tarffic with arbitrary sizes, I mean each packet with a diffrent size, I know how to generate traffic using CBR with fixed packet size (this is simple), but I think I must use "trace file" as input, I g