aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/ISocket.cs
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2021-02-23 12:54:05 +0100
committerGitHub <noreply@github.com>2021-02-23 12:54:05 +0100
commite09e67deae5fc19a830178b9a7574c7c23e282bc (patch)
treec46d2efa0e8e17203f1ea865233324616f707c05 /MediaBrowser.Model/Net/ISocket.cs
parentff10dd9e127068fc058e17b21628d2679013ac8a (diff)
parent7ece3c552337340a997a75aab1520a501a673f61 (diff)
Merge branch 'master' into tests11
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);
}
}