aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Socket.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2024-07-01 13:24:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2024-07-01 13:24:57 +0200
commitd0723c16fc01f81cd98436434dda4a2ca2da5320 (patch)
tree6a5d8d8c7fec3d0904161e4d8e4127e6255f7018 /lib/Socket.h
parent6833f11a318e52708ec5634c3a7595d5ff5ff213 (diff)
downloadODR-SourceCompanion-d0723c16fc01f81cd98436434dda4a2ca2da5320.tar.gz
ODR-SourceCompanion-d0723c16fc01f81cd98436434dda4a2ca2da5320.tar.bz2
ODR-SourceCompanion-d0723c16fc01f81cd98436434dda4a2ca2da5320.zip
Common: 710f5e6, Socket multicast reception
Diffstat (limited to 'lib/Socket.h')
-rw-r--r--lib/Socket.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Socket.h b/lib/Socket.h
index d8242e2..44f93d0 100644
--- a/lib/Socket.h
+++ b/lib/Socket.h
@@ -111,6 +111,7 @@ class UDPSocket
/** Close the already open socket, and create a new one. Throws a runtime_error on error. */
void reinit(int port);
void reinit(int port, const std::string& name);
+ void init_receive_multicast(int port, const std::string& local_if_addr, const std::string& mcastaddr);
void close(void);
void send(UDPPacket& packet);