1socket_mcjoin4(3) Library Functions Manual socket_mcjoin4(3)
23
4
NAME
6socket_mcjoin4 - join a multicast group
7
SYNTAX
9#include <socket.h>
1011
int socket_mcjoin4(int s,const char groupip[4],const char inter‐
12face[4]);
13
DESCRIPTION
15socket_mcjoin4 joins the IPv4 multicast group groupip on interface.
1617
If something goes wrong, socket_mcjoin4 returns -1, setting errno
18appropriately.
19
SEE ALSO
21socket_mcleave4(3), socket_mcjoin6(3), socket_getifidx(3)
2223
24
25
socket_mcjoin4(3)