[−][src]Function mssql_browser::custom_socket::browse
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>>
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.