socket_mcttl4(3) debian man page | unix.com

Man Page: socket_mcttl4

Operating Environment: debian

Section: 3

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
ping(8) - bsd
ip(4) - osx
poc-fec(1) - debian
mcsender(8) - debian
ip(4) - opendarwin
Similar Topics in the Unix Linux Community
Installing Dash Shell on OS X Lion
How can I do this in VI editor?
Is UNIX an open source OS ?
A (ksh) Library For and From UNIX.com
New UNIX and Linux History Sections