pub unsafe extern "C" fn otSrpClientGetServerAddress(
    aInstance: *mut otInstance
) -> *const otSockAddr
Expand description

Gets the socket address (IPv6 address and port number) of the SRP server which is being used by SRP client.

If the client is not running, the address is unspecified (all zero) with zero port number.

@param[in] aInstance A pointer to the OpenThread instance.

@returns A pointer to the SRP server’s socket address (is always non-NULL).