Skip to content

fix Windows DF option#107

Open
jesseklm wants to merge 1 commit intoalessandromaggio:devfrom
jesseklm:dev
Open

fix Windows DF option#107
jesseklm wants to merge 1 commit intoalessandromaggio:devfrom
jesseklm:dev

Conversation

@jesseklm
Copy link

using IP_DONTFRAGMENT from https://github.com/MicrosoftDocs/win32/blob/docs/desktop-src/WinSock/ipproto-ip-socket-options.md

Indicates that data should not be fragmented regardless of the local MTU. Valid only for message oriented protocols. Microsoft TCP/IP providers respect this option for UDP and ICMP.

with value from here https://github.com/tpn/winsdk-10/blob/master/Include/10.0.14393.0/shared/ws2ipdef.h

#define IP_DONTFRAGMENT 14 // Don't fragment IP datagrams.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant