debian man page for socket_mchopcount6

Query: socket_mchopcount6

OS: debian

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

socket_mchopcount6(3)					     Library Functions Manual					     socket_mchopcount6(3)

NAME
socket_mchopcount6 - set multicast hop count
SYNTAX
#include <socket.h> int socket_mchopcount6(int s,char TTL);
DESCRIPTION
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.
SEE ALSO
socket_mcttl4(3), socket_mcjoin4(3), socket_mcleave4(3) socket_mchopcount6(3)
Related Man Pages
mcsender(8) - debian
mtrace(8) - netbsd
ip(7) - osf1
traceroute6(8) - osx
traceroute(1) - v7
Similar Topics in the Unix Linux Community
awk or sed - Convert 2 lines to 1 line
Is UNIX an open source OS ?
Detecting unused variables...
One instance of comparing grep and awk
Find columns in a file based on header and print to new file