summaryrefslogtreecommitdiff
path: root/src/ot_livesync.h
diff options
context:
space:
mode:
authorDirk Engling <erdgeist@erdgeist.org>2026-11-03 06:02:47 +0100
committerDirk Engling <erdgeist@erdgeist.org>2026-11-03 06:02:47 +0100
commitf16ea39889c0fd65f3e533cf40cc3a0a33ac1c33 (patch)
treece43369ece6303d35737b95ed203936f1cb2eb73 /src/ot_livesync.h
parentb142979a036ac53c4e59e1906fed01a76198ba84 (diff)
Let a user pick their cluster's own multicast group
Diffstat (limited to 'src/ot_livesync.h')
-rw-r--r--src/ot_livesync.h4
1 files changed, 4 insertions, 0 deletions
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 @@
48void livesync_init(void); 48void livesync_init(void);
49void livesync_deinit(void); 49void livesync_deinit(void);
50 50
51/* The group to join and to send to, (defaults to 224.0.23.5).
52 Returns -1 if group is not a v4 multicast address. */
53int livesync_set_group(const ot_ip6 group);
54
51/* Join multicast group for listening and create sending socket */ 55/* Join multicast group for listening and create sending socket */
52void livesync_bind_mcast(ot_ip6 ip, uint16_t port); 56void livesync_bind_mcast(ot_ip6 ip, uint16_t port);
53 57