man socket_mcleave4 () - leave a multicast group

NAME

socket_mcleave4 - leave a multicast group

SYNTAX

#include <socket.h>

int socket_mcleave4(int s, const char groupip[4]);

DESCRIPTION

socket_mcleave4 leaves the IPv4 multicast group groupip.

If something goes wrong, socket_mcleave4 returns -1, setting errno appropriately.

SEE ALSO