Skip to content
Merged
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
14 changes: 7 additions & 7 deletions nanoFramework.System.Net/Sockets/NetworkStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ public class NetworkStream : Stream
// nonblocking state.

/// <summary>
/// Creates a new instance of the System.Net.Sockets.NetworkStream class for the specified System.Net.Sockets.Socket.
/// Creates a new instance of the <see cref="NetworkStream"/> class for the specified <see cref="Socket"/>.
/// </summary>
/// <param name="socket">The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will use to send and receive data.</param>
/// <param name="socket">The <see cref="Socket"/> that the <see cref="NetworkStream"/> will use to send and receive data.</param>
public NetworkStream(Socket socket)
: this(socket, false)
{
Expand Down Expand Up @@ -86,13 +86,13 @@ public NetworkStream(Socket socket)
// socket is null.

/// <summary>
/// Initializes a new instance of the System.Net.Sockets.NetworkStream class for the specified
/// System.Net.Sockets.Socket with the specified System.Net.Sockets.Socket ownership.
/// Initializes a new instance of the <see cref="NetworkStream"/> class for the specified
/// <see cref="Socket"/> with the specified <see cref="Socket"/> ownership.
/// </summary>
/// <param name="socket">true to indicate that the System.Net.Sockets.NetworkStream will take ownership of the System.Net.Sockets.Socket;
/// otherwise, false.</param>
/// <param name="ownsSocket">The System.Net.Sockets.Socket that the System.Net.Sockets.NetworkStream will
/// <param name="socket">The <see cref="Socket"/> that the <see cref="NetworkStream"/> will
/// use to send and receive data.</param>
/// <param name="ownsSocket"><see langword="true"/> to indicate that the <see cref="NetworkStream"/> will take ownership of the <see cref="Socket"/>;
/// otherwise, <see langword="false"/>.</param>
public NetworkStream(Socket socket, bool ownsSocket)
{
if (socket == null) throw new ArgumentNullException();
Expand Down