Local broadcast helper This class implements a broadcast helper on the local interface using UDP diagrams. Listener apps can also use this class to receive the broadcast messages on shared socket SO_REUSEADDR.
#include <Workspace/Application/Ipc/broadcast.h>
Inherits QObject.
◆ UdpBroadcast() [1/2]
◆ UdpBroadcast() [2/2]
◆ ~UdpBroadcast()
◆ onMessageReceived
void onMessageReceived |
( |
QByteArray |
message | ) |
|
|
signal |
◆ operator=()
◆ send()
void send |
( |
const QByteArray & |
message | ) |
|
◆ startListening()
◆ stopListening()