different packet sizes

17 views
Skip to first unread message

Yalda Edalat

unread,
Jan 4, 2018, 9:31:29 PM1/4/18
to ns-3-users
Hi,

I really appreciate your help.
I want to send different packet sizes in different time intervals. For example, second 1-2 packet size 500. second 2-3 packet size 1000,...
I have read most related treads but still confused. I used my app application, but don't know where and how to tell these things.

Thanks

Tommaso Pecorella

unread,
Jan 8, 2018, 4:51:35 PM1/8/18
to ns-3-users
Hi,

if you understood how packets are generated, it should be quite simple to accomplish your task.
Simply have a counter in the generation class and change the packet size according to the counter.
Reply all
Reply to author
Forward
0 new messages