diff options
| author | Dirk Engling <erdgeist@erdgeist.org> | 2026-11-03 06:02:47 +0100 |
|---|---|---|
| committer | Dirk Engling <erdgeist@erdgeist.org> | 2026-11-03 06:02:47 +0100 |
| commit | f16ea39889c0fd65f3e533cf40cc3a0a33ac1c33 (patch) | |
| tree | ce43369ece6303d35737b95ed203936f1cb2eb73 /src/ot_livesync.h | |
| parent | b142979a036ac53c4e59e1906fed01a76198ba84 (diff) | |
Let a user pick their cluster's own multicast group
Diffstat (limited to 'src/ot_livesync.h')
| -rw-r--r-- | src/ot_livesync.h | 4 |
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 @@ | |||
| 48 | void livesync_init(void); | 48 | void livesync_init(void); |
| 49 | void livesync_deinit(void); | 49 | void 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. */ | ||
| 53 | int 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 */ |
| 52 | void livesync_bind_mcast(ot_ip6 ip, uint16_t port); | 56 | void livesync_bind_mcast(ot_ip6 ip, uint16_t port); |
| 53 | 57 | ||
