1socket_mcleave4(3) Library Functions Manual socket_mcleave4(3)
23
4
NAME
6socket_mcleave4 - leave a multicast group
7
SYNTAX
9#include <socket.h>
1011
int socket_mcleave4(int s, const char groupip[4]);
12
DESCRIPTION
14socket_mcleave4 leaves the IPv4 multicast group groupip.
1516
If something goes wrong, socket_mcleave4 returns -1, setting errno
17appropriately.
18
SEE ALSO
20socket_mcjoin4(3), socket_mcleave6(3), socket_getifidx(3)
2122
23
24
socket_mcleave4(3)