socket_mcleave4 man page

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

socket_mcjoin4(3), socket_mcleave6(3), socket_getifidx(3)

Referenced By

socket_mchopcount6(3), socket_mcjoin4(3), socket_mcleave6(3), socket_mcloop4(3), socket_mcttl4(3).