[][src]Function mssql_browser::custom_socket::browse_instance

pub async fn browse_instance<'_, '_, SF: UdpSocketFactory>(
    remote_addr: IpAddr,
    instance_name: &'_ str,
    socket_factory: &'_ mut SF
) -> Result<InstanceInfo, BrowserError<SF::Error, <SF::Socket as UdpSocket>::Error>>

Gets information about the given instance.

Arguments

  • remote_addr - The address of the remote host on which the instance is running.
  • instance_name - The name of the instance, must be less than MAX_INSTANCE_NAME_LEN characters.