packet size

614 views
Skip to first unread message

ormana...@gmail.com

unread,
Jul 23, 2011, 7:56:50 AM7/23/11
to omn...@googlegroups.com
Hi

I'm trying to Active Queue Management and Qos. (RED, PQ, etc.) using Omnet++ 4.1.

I created "standarthost [n] <---> router <---> router <----> standarthost [n]" network with inet framework.

I send and receive packets both of TCP and UDP applications,

I want to give simulation value fields of the payload of the packets.

I do not want to use the quantity of packets.

I want to set Buffer areas of the routers as the "byte" .

In addition, the values ​​of queue.frameCapacity "bytes" as I would like to adjust.

How do I define the size of the TCP and UDP packet?
How do I send packages with different sizes?
Can I change the packet size during the simulation time?
What changes should I do?

Waiting for your reply.


**.cli[0].tcpAppType = "TCPBasicClientApp" # http
**.cli[1].tcpAppType = "TCPBasicClientApp" # ftp
**.cli[2].udpAppType = "UDPVideoStreamCli" # video
**.cli[3].udpAppType = "UDPBasicApp" # voice
**.cli[4].tcpAppType = "TelnetApp" # telnet

Adee

unread,
Feb 12, 2013, 12:48:16 AM2/12/13
to omn...@googlegroups.com
You can set the size of your payload in your ini file through following line

**.udpApp[*].messageLength = 1024 bytes #1048576 bytes

-Adee
Reply all
Reply to author
Forward
0 new messages