diff options
| author | Shadowghost <Ghost_of_Stone@web.de> | 2022-07-21 09:26:18 +0200 |
|---|---|---|
| committer | Shadowghost <Ghost_of_Stone@web.de> | 2022-07-21 09:26:18 +0200 |
| commit | f6e41269d94e4c3096b136a47d3616cb0c5fe316 (patch) | |
| tree | 294a1cf013d3c52422db6769dc80e1d39cc6bdf6 /MediaBrowser.Model/Net/ISocketFactory.cs | |
| parent | 05458a4a4240d2b15db93de6c9ec25376677b5e1 (diff) | |
Enforce interface bindings on SSDP, add Loopback to LAN if no LAN defined
Diffstat (limited to 'MediaBrowser.Model/Net/ISocketFactory.cs')
| -rw-r--r-- | MediaBrowser.Model/Net/ISocketFactory.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Model/Net/ISocketFactory.cs b/MediaBrowser.Model/Net/ISocketFactory.cs index a2835b711..e5cf7adbc 100644 --- a/MediaBrowser.Model/Net/ISocketFactory.cs +++ b/MediaBrowser.Model/Net/ISocketFactory.cs @@ -1,5 +1,6 @@ #pragma warning disable CS1591 +using System.Collections.Generic; using System.Net; namespace MediaBrowser.Model.Net @@ -23,9 +24,10 @@ namespace MediaBrowser.Model.Net /// Creates a new multicast socket using the specified multicast IP address, multicast time to live and local port. /// </summary> /// <param name="ipAddress">The multicast IP address to bind to.</param> + /// <param name="bindIpAddress">The bind IP address.</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> /// <returns>A <see cref="ISocket"/> implementation.</returns> - ISocket CreateUdpMulticastSocket(IPAddress ipAddress, int multicastTimeToLive, int localPort); + ISocket CreateUdpMulticastSocket(IPAddress ipAddress, IPAddress bindIpAddress, int multicastTimeToLive, int localPort); } } |
