openthread_sys

Function otSrpServerGetPort

Source
pub unsafe extern "C" fn otSrpServerGetPort(
    aInstance: *mut otInstance,
) -> u16
Expand description

Returns the port the SRP server is listening to.

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

@returns The port of the SRP server. It returns 0 if the server is not running.