aboutsummaryrefslogtreecommitdiff
path: root/RSSDP/SsdpCommunicationsServer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'RSSDP/SsdpCommunicationsServer.cs')
-rw-r--r--RSSDP/SsdpCommunicationsServer.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/RSSDP/SsdpCommunicationsServer.cs b/RSSDP/SsdpCommunicationsServer.cs
index a4be24ebf..6b4f67b0b 100644
--- a/RSSDP/SsdpCommunicationsServer.cs
+++ b/RSSDP/SsdpCommunicationsServer.cs
@@ -366,6 +366,12 @@ namespace Rssdp.Infrastructure
{
foreach (var address in _networkManager.GetLocalIpAddresses())
{
+ if (address.AddressFamily == IpAddressFamily.InterNetworkV6)
+ {
+ // Not supported ?
+ continue;
+ }
+
try
{
sockets.Add(_SocketFactory.CreateSsdpUdpSocket(address, _LocalPort));