socket_mcloop4(3diet)

socket_mcloop43diet

Set multicast loopback

Usage

#include <socket.h>

int socket_mcloop4(int s,char loop);

Overview

socket_mcloop4 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_mcloop4 returns -1, setting errno appropriately.

Releases

Unchanged in 4 releases since Debian 3.1 (Sarge).

  1. 3.1–6.0

From libowfat-dev 0.28-2 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.