diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 14:56:47 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2016-11-04 14:56:47 -0400 |
| commit | 72aaecb27930e04aa356febf35db2372bc417166 (patch) | |
| tree | c72bb0ed40bd257b93d4b11f315bbbe24e23920d /MediaBrowser.Model/Net/IUdpSocket.cs | |
| parent | a7b11c8ee952ca43fe949ab4f1b6577e94ce6bba (diff) | |
move classes to new server project
Diffstat (limited to 'MediaBrowser.Model/Net/IUdpSocket.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/IUdpSocket.cs | 6 |
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 |
