socket_mcloop6
set multicast loopback
- Provided by: libowfat-dev (Version: 0.30-3ubuntu1)
- Source: libowfat
- Report a bug
set multicast loopback
#include <socket.h>
int socket_mcloop6(int s,char loop);
socket_mcloop6 activates multicast loopback for the socket s if loop is non-zero, and deactivates it otherwise. If loopback is activated, packets sent on this socket will be received on the same host.
If something goes wrong, socket_mcloop6 returns -1, setting errno appropriately.