Skip to content

Fix and clarify default value for DontFragment property on UdpClient and Socket. #9416

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xml/System.Net.Sockets/Socket.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5056,7 +5056,7 @@ This method populates the <xref:System.Net.Sockets.Socket> instance with data ga
<Docs>
<summary>Gets or sets a value that specifies whether the <see cref="T:System.Net.Sockets.Socket" /> allows Internet Protocol (IP) datagrams to be fragmented.</summary>
<value>
<see langword="true" /> if the <see cref="T:System.Net.Sockets.Socket" /> doesn't allow datagram fragmentation; otherwise, <see langword="false" />. The default is <see langword="true" />.</value>
<see langword="true" /> if the <see cref="T:System.Net.Sockets.Socket" /> doesn't allow datagram fragmentation; otherwise, <see langword="false" />. The default is <see langword="false" />, which allows datagram fragmentation.</value>
<remarks>
<format type="text/markdown"><![CDATA[

Expand Down
2 changes: 1 addition & 1 deletion xml/System.Net.Sockets/UdpClient.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1531,7 +1531,7 @@
<Docs>
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that specifies whether the <see cref="T:System.Net.Sockets.UdpClient" /> allows Internet Protocol (IP) datagrams to be fragmented.</summary>
<value>
<see langword="true" /> if the <see cref="T:System.Net.Sockets.UdpClient" /> doesn't allow datagram fragmentation; otherwise, <see langword="false" />. The default is <see langword="true" />.</value>
<see langword="true" /> if the <see cref="T:System.Net.Sockets.UdpClient" /> doesn't allow datagram fragmentation; otherwise, <see langword="false" />. The default is <see langword="false" />, which allows datagram fragmentation.</value>
<remarks>
<format type="text/markdown"><![CDATA[

Expand Down