Skip to content

Commit ac48cd7

Browse files
authored
EnableBroadcast property of Socket and UdpClient classes only allows sending broadcast packets, not sending and receiving broadcast packets. (#7294)
1 parent d67c461 commit ac48cd7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

xml/System.Net.Sockets/Socket.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4879,9 +4879,9 @@ Duplication of the socket reference failed.</exception>
48794879
<ReturnType>System.Boolean</ReturnType>
48804880
</ReturnValue>
48814881
<Docs>
4882-
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that specifies whether the <see cref="T:System.Net.Sockets.Socket" /> can send or receive broadcast packets.</summary>
4882+
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that specifies whether the <see cref="T:System.Net.Sockets.Socket" /> can send broadcast packets.</summary>
48834883
<value>
4884-
<see langword="true" /> if the <see cref="T:System.Net.Sockets.Socket" /> allows broadcast packets; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
4884+
<see langword="true" /> if the <see cref="T:System.Net.Sockets.Socket" /> allows sending broadcast packets; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
48854885
<remarks>
48864886
<format type="text/markdown"><![CDATA[
48874887

xml/System.Net.Sockets/UdpClient.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1651,9 +1651,9 @@
16511651
<ReturnType>System.Boolean</ReturnType>
16521652
</ReturnValue>
16531653
<Docs>
1654-
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that specifies whether the <see cref="T:System.Net.Sockets.UdpClient" /> may send or receive broadcast packets.</summary>
1654+
<summary>Gets or sets a <see cref="T:System.Boolean" /> value that specifies whether the <see cref="T:System.Net.Sockets.UdpClient" /> may send broadcast packets.</summary>
16551655
<value>
1656-
<see langword="true" /> if the <see cref="T:System.Net.Sockets.UdpClient" /> allows broadcast packets; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
1656+
<see langword="true" /> if the <see cref="T:System.Net.Sockets.UdpClient" /> allows sending broadcast packets; otherwise, <see langword="false" />. The default is <see langword="false" />.</value>
16571657
<remarks>
16581658
<format type="text/markdown"><![CDATA[
16591659

0 commit comments

Comments
 (0)