Loading...
Select Version
&pagelevel(3)&pagelevel
Multicast messages can be sent and received if you use datagram sockets.
In the AF_INET address family, the transfer of multicast messages is supported by the following socket options of the IPPROTO_IP protocol level:
IP_ADD_MEMBERSHIP: join a multicast group
IP_DROP_MEMBERSHIP: leave multicast group
- IP_MULTICAST_IF: display or define the interface for multicast message receipt
IP_MULTICAST_TTL: display or define the multicast hop limit
In the AF_INET6 address family, the transfer of multicast messages is supported by the following socket options of the IPPROTO_IP protocol level:
IPV6_ADD_MEMBERSHIP: join a multicast group
- IPV6_DROP_MEMBERSHIP: leave multicast group
- IPV6_MULTICAST_IF: display or define the interface for multicast message receipt
- IPV6_MULTICAST_HOPS: display or define the multicast hop limit