This commit is contained in:
Luke Pulverenti
2017-11-12 16:05:40 -05:00
parent 711f588084
commit 351d29954a
4 changed files with 25 additions and 11 deletions

View File

@@ -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));