/// Executes an operation of the `IP_ADD_MEMBERSHIP` type.
///
/// This function specifies a new multicast group for this socket to join.
/// The address must be a valid multicast address, and `interface` is the
/// address of the local interface with which the system should join the
/// multicast group. If it's equal to `INADDR_ANY` then an appropriate
/// interface is chosen by the system.
Executes an operation of the `IP_ADD_MEMBERSHIP` type.
This function specifies a new multicast group for this socket to join.
The address must be a valid multicast address, and `interface` is the
address of the local interface with which the system should join the
multicast group. If it's equal to `INADDR_ANY` then an appropriate
interface is chosen by the system.
Executes an operation of the ` IP_ADD_MEMBERSHIP ` type . This function specifies a new multicast group for this socket to join . The address must be a valid multicast address and ` interface ` is the address of the local interface with which the system should join the multicast group . If it ' s equal to ` INADDR_ANY ` then an appropriate interface is chosen by the system .
pub fn join_multicast_v4(&self,
                             multiaddr: &Ipv4Addr,
                             interface: &Ipv4Addr) -> io::Result<()> {
        self.io.get_ref().join_multicast_v4(multiaddr, interface)
    }
pub fn join_multicast_v4 ( & self , multiaddr : & Ipv4Addr , interface : & Ipv4Addr ) -> io :: Result < ( ) > { self . io . get_ref ( ) . join_multicast_v4 ( multiaddr , interface ) }
Executes an operation of the `IP_ADD_MEMBERSHIP` type.
Executes an operation of the ` IP_ADD_MEMBERSHIP ` type .
&self
multiaddr
&Ipv4Addr
interface
&Ipv4Addr