Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
socket_mchopcount6(3)	    Library Functions Manual	   socket_mchopcount6(3)

NAME
     socket_mchopcount6 - set multicast hop count

SYNTAX
     #include <libowfat/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 ap-
     propriately.

SEE ALSO
     socket_mcttl4(3), socket_mcjoin4(3), socket_mcleave4(3)

							   socket_mchopcount6(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=libowfat_socket_mchopcount6&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help