debian man page for socket_mcttl4

Query: socket_mcttl4

OS: debian

Section: 3

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

socket_mcttl4(3)					     Library Functions Manual						  socket_mcttl4(3)

NAME
socket_mcttl4 - set multicast ttl
SYNTAX
#include <socket.h> int socket_mcttl4(int s,char TTL);
DESCRIPTION
socket_mcttl4 sets the TTL of outgoing multicast packets on the socket s. Each router decrements the packet TTL by one and discards the packet if the TTL reaches zero. Setting the TTL to 1, for example, will limit the packet propagation to the LAN. If something goes wrong, socket_mcttl4 returns -1, setting errno appropriately.
SEE ALSO
socket_mcttl6(3), socket_mcjoin4(3), socket_mcleave4(3) socket_mcttl4(3)
Related Man Pages
ip(4) - mojave
udptunnel(1) - debian
backup-manager-purge(8) - debian
ip(7) - osf1
io::socket::multicast(3pm) - debian
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
awk or sed - Convert 2 lines to 1 line
One instance of comparing grep and awk
Weird 'find' results