aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/IUdpSocket.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Model/Net/IUdpSocket.cs')
-rw-r--r--MediaBrowser.Model/Net/IUdpSocket.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Net/IUdpSocket.cs b/MediaBrowser.Model/Net/IUdpSocket.cs
index c70510726..76793f4a6 100644
--- a/MediaBrowser.Model/Net/IUdpSocket.cs
+++ b/MediaBrowser.Model/Net/IUdpSocket.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
+using System.Threading;
using System.Threading.Tasks;
namespace MediaBrowser.Model.Net
@@ -22,6 +23,6 @@ namespace MediaBrowser.Model.Net
/// <summary>
/// Sends a UDP message to a particular end point (uni or multicast).
/// </summary>
- Task SendAsync(byte[] buffer, int bytes, IpEndPointInfo endPoint);
+ Task SendAsync(byte[] buffer, int bytes, IpEndPointInfo endPoint, CancellationToken cancellationToken);
}
} \ No newline at end of file