Function browse

Source
pub async fn browse<SF: UdpSocketFactory>(
    multicast_addr: IpAddr,
    socket_factory: &mut SF,
) -> Result<AsyncInstanceIterator<SF::Socket>, BrowserError<SF::Error, <SF::Socket as UdpSocket>::Error>>
Expand description

Discovers any SQL Server instances running on hosts reached by the given multicast address.

ยงArguments

  • multicast_addr - A multicast address to which to broadcast the browse datagram. This can be the Ipv4 BROADCAST address, or a Ipv6 multicast address.