From f16ea39889c0fd65f3e533cf40cc3a0a33ac1c33 Mon Sep 17 00:00:00 2001 From: Dirk Engling Date: Tue, 3 Nov 2026 06:02:47 +0100 Subject: Let a user pick their cluster's own multicast group --- src/ot_livesync.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/ot_livesync.h') diff --git a/src/ot_livesync.h b/src/ot_livesync.h index d8d20b3..cf3c64c 100644 --- a/src/ot_livesync.h +++ b/src/ot_livesync.h @@ -48,6 +48,10 @@ void livesync_init(void); void livesync_deinit(void); +/* The group to join and to send to, (defaults to 224.0.23.5). + Returns -1 if group is not a v4 multicast address. */ +int livesync_set_group(const ot_ip6 group); + /* Join multicast group for listening and create sending socket */ void livesync_bind_mcast(ot_ip6 ip, uint16_t port); -- cgit v1.3