Skip to content

Force TCP fragmentation #310

Answered by dannagle
danfoxley asked this question in Q&A
Feb 28, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

The data transfer out the TCP socket is managed by your operating system, so the data will honor whatever MTU is configured. Packet Sender cannot override it. You will need to access a lower level library to do that.

Perhaps you could add a hop in between your destination with a very small MTU?

Something to keep in mind as you go about this test... many operating systems and routers invoke Nagle's Algorithm on TCP packets and will join packets back together to improve efficiency. You may not get the exact test you want unless you also configure that setting.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danfoxley
Comment options

Answer selected by danfoxley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants