mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
native UDP listener enhancements (#48)
- uses new logger - can specifiy which ip address to listen on - if its a multicast address, multicast is enabled
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include <QLocale>
|
||||
#include <QFile>
|
||||
#include <QHostInfo>
|
||||
#include <QHostAddress>
|
||||
#include <cstdint>
|
||||
#include <limits>
|
||||
|
||||
@@ -249,6 +250,7 @@ void HyperionDaemon::startNetworkServices()
|
||||
_udpListener = new UDPListener(
|
||||
udpListenerConfig.get("priority",700).asInt(),
|
||||
udpListenerConfig.get("timeout",10000).asInt(),
|
||||
udpListenerConfig.get("address", "").asString(),
|
||||
udpListenerConfig.get("port", 2801).asUInt()
|
||||
);
|
||||
Info(_log, "UDP listener created and started on port %d", _udpListener->getPort());
|
||||
|
Reference in New Issue
Block a user