aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Net/ISocketFactory.cs
diff options
context:
space:
mode:
authorBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-24 14:31:17 +0100
committerBaronGreenback <jimcartlidge@yahoo.co.uk>2020-06-24 14:31:17 +0100
commit5b0c1829084b8f54cd5356880d82b75723badf81 (patch)
treeedb6470b950b1f8a1eab55e0a71e7bb86baf5d11 /MediaBrowser.Model/Net/ISocketFactory.cs
parent2486e480976d836e9b65c9bd986a0661c3c0229b (diff)
Added logging and broadcast = true
Not intended for merge into the fork.
Diffstat (limited to 'MediaBrowser.Model/Net/ISocketFactory.cs')
-rw-r--r--MediaBrowser.Model/Net/ISocketFactory.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.cs
index 363abefc1..3a19590a9 100644
--- a/MediaBrowser.Model/Net/ISocketFactory.cs
+++ b/MediaBrowser.Model/Net/ISocketFactory.cs
@@ -1,6 +1,7 @@
#pragma warning disable CS1591
using System.Net;
+using Microsoft.Extensions.Logging;
namespace MediaBrowser.Model.Net
{
@@ -22,7 +23,9 @@ namespace MediaBrowser.Model.Net
/// <param name="ipAddress">The multicast IP address to bind to.</param>
/// <param name="multicastTimeToLive">The multicast time to live value. Actually a maximum number of network hops for UDP packets.</param>
/// <param name="localPort">The local port to bind to.</param>
+ /// <param name="logger"></param>
/// <returns>A <see cref="ISocket"/> implementation.</returns>
- ISocket CreateUdpMulticastSocket(string ipAddress, int multicastTimeToLive, int localPort);
+ ISocket CreateUdpMulticastSocket(string ipAddress, int multicastTimeToLive, int localPort, ILogger logger);
+
}
}