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.cs6
1 files changed, 2 insertions, 4 deletions
diff --git a/MediaBrowser.Model/Net/IUdpSocket.cs b/MediaBrowser.Model/Net/IUdpSocket.cs
index cbeb8a995..ef090e010 100644
--- a/MediaBrowser.Model/Net/IUdpSocket.cs
+++ b/MediaBrowser.Model/Net/IUdpSocket.cs
@@ -15,13 +15,11 @@ namespace MediaBrowser.Model.Net
/// Waits for and returns the next UDP message sent to this socket (uni or multicast).
/// </summary>
/// <returns></returns>
- Task<ReceivedUdpData> ReceiveAsync();
+ Task<SocketReceiveResult> ReceiveAsync();
/// <summary>
/// Sends a UDP message to a particular end point (uni or multicast).
/// </summary>
- /// <param name="messageData">The data to send.</param>
- /// <param name="endPoint">The <see cref="IpEndPointInfo"/> providing the address and port to send to.</param>
- Task SendTo(byte[] messageData, IpEndPointInfo endPoint);
+ Task SendAsync(byte[] buffer, int bytes, IpEndPointInfo endPoint);
}
} \ No newline at end of file