[][src]Function mssql_browser::browse

pub async fn browse(
    multicast_addr: IpAddr
) -> Result<AsyncInstanceIterator<<DefaultSocketFactory as UdpSocketFactory>::Socket>, BrowserError<<DefaultSocketFactory as UdpSocketFactory>::Error, <<DefaultSocketFactory as UdpSocketFactory>::Socket as UdpSocket>::Error>>

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.