aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/ISocket.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-02-20 23:13:04 +0100
committerBond_009 <bond.009@outlook.com>2021-02-20 23:29:33 +0100
commit141efafd3dbbef3dc64824a89fd3fdc77da0b25e (patch)
tree7087b9d58c87a9feb347670cb9eb78957e35af02 /MediaBrowser.Model/Net/ISocket.cs
parent13d65318eb36f3fc423d8060e0092c8671579ed0 (diff)
Enable TreatWarningsAsErrors for MediaBrowser.Model
Diffstat (limited to 'MediaBrowser.Model/Net/ISocket.cs')
-rw-r--r--MediaBrowser.Model/Net/ISocket.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/MediaBrowser.Model/Net/ISocket.cs b/MediaBrowser.Model/Net/ISocket.cs
index 5b6ed92df..3de41d565 100644
--- a/MediaBrowser.Model/Net/ISocket.cs
+++ b/MediaBrowser.Model/Net/ISocket.cs
@@ -23,6 +23,12 @@ namespace MediaBrowser.Model.Net
/// <summary>
/// Sends a UDP message to a particular end point (uni or multicast).
/// </summary>
+ /// <param name="buffer">An array of type <see cref="byte" /> that contains the data to send.</param>
+ /// <param name="offset">The zero-based position in buffer at which to begin sending data.</param>
+ /// <param name="bytes">The number of bytes to send.</param>
+ /// <param name="endPoint">An <see cref="IPEndPoint" /> that represents the remote device.</param>
+ /// <param name="cancellationToken">The cancellation token to cancel operation.</param>
+ /// <returns>The task object representing the asynchronous operation.</returns>
Task SendToAsync(byte[] buffer, int offset, int bytes, IPEndPoint endPoint, CancellationToken cancellationToken);
}
}