Sending TCP packet size more than 536 bytes?

586 views
Skip to first unread message

ZK Chong

unread,
Jan 24, 2012, 10:20:16 AM1/24/12
to ns-3-users
Hi,

May I know it is possible to send TCP packet with payload more than
536 bytes?

Initially, I tried to use Config::SetDefault
("ns3::WifiRemoteStationManager::FragmentationThreshold", StringValue
("8000")) to increase the payload size as I was using Wifi. It does
change the packet size to some extend, but not more than 536.

I tried to change the
Config::SetDefault("ns3::BulkSendApplication::SendSize",
UintegerValue(8224)) as well. But it seems like it doesn't give any
effect to the payload size?

Can anyone give me any hint?

Big thanks in advance.

Chang Liu

unread,
Feb 1, 2012, 10:55:30 AM2/1/12
to ns-3-...@googlegroups.com
I think the packet size is set in TcpSocket or Socket class, there is a value attached there for the segment size. Changing the size from application object cannot affect the real segmenting in transport layer, this is what I guess.

Best,


--
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To post to this group, send email to ns-3-...@googlegroups.com.
To unsubscribe from this group, send email to ns-3-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/ns-3-users?hl=en.


Reply all
Reply to author
Forward
0 new messages