UDPListener improvements: (#53)

- if you listen to a multicast address, it now also listens to all ipv4 addresses
- shared udp sockets - multiple hyperiond instance can optionally share the same udp packets
This commit is contained in:
penfold42
2016-06-27 04:08:03 +10:00
committed by brindosch
parent e486b10aa6
commit de39ff8997
3 changed files with 21 additions and 13 deletions

View File

@@ -26,7 +26,7 @@ public:
/// @param hyperion Hyperion instance
/// @param port port number on which to start listening for connections
///
UDPListener(const int priority, const int timeout, const std::string& address, quint16 listenPort);
UDPListener(const int priority, const int timeout, const std::string& address, quint16 listenPort, bool shared);
~UDPListener();
///