socket_mchopcount6(3)

socket_mchopcount63

Set multicast hop count

Usage

#include <libowfat/socket.h>

int socket_mchopcount6(int s,char TTL);

Overview

socket_mchopcount6 sets the maximum hop count of outgoing multicast packets on the socket s. Each router decrements the packet hop count by one and discards the packet if it reaches zero. Setting the maximum hop count to 1, for example, will limit the packet propagation to the LAN.

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

Releases

8 releases since Debian 3.0 (Woody); the text changed 1 time.

  1. 3.0–11
  2. 12–13

From libowfat-dev 0.32-5 in Debian 13 (Trixie). Parsed by carta from the page's man source.