IPV6_MULTICAST_LOOP2const
Loop back sent multicast packets to local sockets
Usage
#include <netinet/in.h> /* Definition of IP* constants */ #include <sys/socket.h>
int setsockopt(int sockfd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, const int *enable, sizeof(int)); int getsockopt(int sockfd, IPPROTO_IPV6, IPV6_MULTICAST_LOOP, int *enabled, sizeof(int));
Library
Standard C library (libc, -lc)
Overview
Control whether the socket sees multicast packets that it has send itself.
Errors
See IPPROTO_IPV6(2const). See setsockopt(2). See ipv6(7).