Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
IPV6_MULTICAST_IF z/OS Communications Server: IP Sockets Application Programming Interface Guide and Reference SC27-3660-00 |
|
In order to control which interface multicast datagrams will be sent on, the API provides the IPV6_MULTICAST_IF socket option. This option can be used to set the interface for sending outbound multicast datagrams from the sockets application. Multicast datagrams can be transmitted on only one interface at a time. You can determine the interface being used by the way of the GETSOCKOPT API with IPV6_MULTICAST_IF as the OPTNAME. The IPV6_MULTICAST_IF socket option requires that the option value be the value of the IPv6 interface index. Figure 1 illustrates
the use of IPV6_MULTICAST_IF by the use of the SETSOCKOPT and GETSOCKOPT
APIs.
Figure 1. IPV6_MULTICAST_IF
|
Copyright IBM Corporation 1990, 2014
|