mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
[Hotfix] reuse local SSDP address (Issue #1324)
This commit is contained in:
parent
b9d5178e55
commit
8fb3d76b9c
@ -107,7 +107,7 @@ void SSDPServer::initServer()
|
|||||||
|
|
||||||
bool SSDPServer::start()
|
bool SSDPServer::start()
|
||||||
{
|
{
|
||||||
if(!_running && _udpSocket->bind(QHostAddress::AnyIPv4, SSDP_PORT, QAbstractSocket::ShareAddress))
|
if(!_running && _udpSocket->bind(QHostAddress::AnyIPv4, SSDP_PORT, QUdpSocket::ReuseAddressHint | QUdpSocket::ShareAddress))
|
||||||
{
|
{
|
||||||
_udpSocket->joinMulticastGroup(SSDP_ADDR);
|
_udpSocket->joinMulticastGroup(SSDP_ADDR);
|
||||||
_running = true;
|
_running = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user