mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-16 15:41:13 +02:00
2023-08-04 Fred Gleason <fredg@paravelsystems.com>
* Added a destructor to the 'RDMulticaster' class. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -24325,3 +24325,5 @@
|
|||||||
* Removed debugging statement from 'lib/rdmulticaster.cpp'.
|
* Removed debugging statement from 'lib/rdmulticaster.cpp'.
|
||||||
2023-08-03 Fred Gleason <fredg@paravelsystems.com>
|
2023-08-03 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Incremented the package version to 4.0.2int0.
|
* Incremented the package version to 4.0.2int0.
|
||||||
|
2023-08-04 Fred Gleason <fredg@paravelsystems.com>
|
||||||
|
* Added a destructor to the 'RDMulticaster' class.
|
||||||
|
@@ -39,6 +39,12 @@ RDMulticaster::RDMulticaster(QObject *parent)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
RDMulticaster::~RDMulticaster()
|
||||||
|
{
|
||||||
|
delete multi_socket;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
bool RDMulticaster::bind(uint16_t port)
|
bool RDMulticaster::bind(uint16_t port)
|
||||||
{
|
{
|
||||||
return multi_socket->bind(QHostAddress("0.0.0.0"),port);
|
return multi_socket->bind(QHostAddress("0.0.0.0"),port);
|
||||||
|
@@ -30,6 +30,7 @@ class RDMulticaster : public QObject
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
RDMulticaster(QObject *parent=0);
|
RDMulticaster(QObject *parent=0);
|
||||||
|
~RDMulticaster();
|
||||||
bool bind(uint16_t port);
|
bool bind(uint16_t port);
|
||||||
void enableLoopback(bool state);
|
void enableLoopback(bool state);
|
||||||
void subscribe(const QHostAddress &addr);
|
void subscribe(const QHostAddress &addr);
|
||||||
|
Reference in New Issue
Block a user