1socket_mcttl4(3)           Library Functions Manual           socket_mcttl4(3)
2
3
4

NAME

6       socket_mcttl4 - set multicast ttl
7

SYNTAX

9       #include <socket.h>
10
11       int socket_mcttl4(int s,char TTL);
12

DESCRIPTION

14       socket_mcttl4  sets the TTL of outgoing multicast packets on the socket
15       s.  Each router decrements the packet  TTL  by  one  and  discards  the
16       packet  if  the  TTL  reaches zero.  Setting the TTL to 1, for example,
17       will limit the packet propagation to the LAN.
18
19       If something goes wrong, socket_mcttl4 returns -1, setting errno appro‐
20       priately.
21

SEE ALSO

23       socket_mcttl6(3), socket_mcjoin4(3), socket_mcleave4(3)
24
25
26
27                                                              socket_mcttl4(3)
Impressum