diff options
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 | ||
