Added logging and broadcast = true

Not intended for merge into the fork.
This commit is contained in:
BaronGreenback
2020-06-24 14:31:17 +01:00
parent 2486e48097
commit 5b0c182908
3 changed files with 27 additions and 7 deletions
+4 -1
View File
@@ -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);
}
}