aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/SocketReceiveResult.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Net/SocketReceiveResult.cs')
-rw-r--r--MediaBrowser.Model/Net/SocketReceiveResult.cs18
1 files changed, 13 insertions, 5 deletions
diff --git a/MediaBrowser.Model/Net/SocketReceiveResult.cs b/MediaBrowser.Model/Net/SocketReceiveResult.cs
index 8c394f7c7..1524786ea 100644
--- a/MediaBrowser.Model/Net/SocketReceiveResult.cs
+++ b/MediaBrowser.Model/Net/SocketReceiveResult.cs
@@ -1,3 +1,7 @@
+#nullable disable
+
+using System.Net;
+
namespace MediaBrowser.Model.Net
{
/// <summary>
@@ -6,19 +10,23 @@ namespace MediaBrowser.Model.Net
public sealed class SocketReceiveResult
{
/// <summary>
- /// The buffer to place received data into.
+ /// Gets or sets the buffer to place received data into.
/// </summary>
public byte[] Buffer { get; set; }
/// <summary>
- /// The number of bytes received.
+ /// Gets or sets the number of bytes received.
/// </summary>
public int ReceivedBytes { get; set; }
/// <summary>
- /// The <see cref="IpEndPointInfo"/> the data was received from.
+ /// Gets or sets the <see cref="IPEndPoint"/> the data was received from.
+ /// </summary>
+ public IPEndPoint RemoteEndPoint { get; set; }
+
+ /// <summary>
+ /// Gets or sets the local <see cref="IPAddress"/>.
/// </summary>
- public IpEndPointInfo RemoteEndPoint { get; set; }
- public IpAddressInfo LocalIPAddress { get; set; }
+ public IPAddress LocalIPAddress { get; set; }
}
}