@@ -579,8 +579,8 @@ impl UdpSocket { |
|
|
579 |
579 |
/// This function specifies a new multicast group for this socket to join. |
580 |
580 |
/// The address must be a valid multicast address, and `interface` is the |
581 |
581 |
/// address of the local interface with which the system should join the |
582 |
|
- /// multicast group. If it's equal to `INADDR_ANY` then an appropriate |
583 |
|
- /// interface is chosen by the system. |
|
582 |
+ /// multicast group. If it's equal to [`UNSPECIFIED`](Ipv4Addr::UNSPECIFIED) |
|
583 |
+ /// then an appropriate interface is chosen by the system. |
584 |
584 |
#[stable(feature = "net2_mutators", since = "1.9.0")] |
585 |
585 |
pub fn join_multicast_v4(&self, multiaddr: &Ipv4Addr, interface: &Ipv4Addr) -> io::Result<()> { |
586 |
586 |
self.0.join_multicast_v4(multiaddr, interface) |