summaryrefslogtreecommitdiff
path: root/src/ot_livesync.h
diff options
context:
space:
mode:
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