update socket interfaces

This commit is contained in:
Luke Pulverenti
2017-03-02 15:50:09 -05:00
parent 9f7ee6d34c
commit 9776ca09db
209 changed files with 565 additions and 12071 deletions

View File

@@ -128,7 +128,7 @@ namespace Emby.Server.Implementations.Udp
/// <summary>
/// The _udp client
/// </summary>
private IUdpSocket _udpClient;
private ISocket _udpClient;
private readonly ISocketFactory _socketFactory;
/// <summary>
@@ -148,7 +148,7 @@ namespace Emby.Server.Implementations.Udp
{
try
{
var result = await _udpClient.ReceiveAsync().ConfigureAwait(false);
var result = await _udpClient.ReceiveAsync(CancellationToken.None).ConfigureAwait(false);
OnMessageReceived(result);
}