ot::Ip6::Udp::IsPortInUse() const method
Returns whether a udp port is being used by OpenThread or any of it's optional features, e.g. CoAP API.
Syntax
bool IsPortInUse(uint16_t aPort) const; Return value
True when port is used by the OpenThread. False when the port is not used by OpenThread.
![]()
bool Udp::IsPortInUse(uint16_t aPort) const![]()
bool IsPortInUse(uint16_t aPort) const;
ot::Ip6::Udp::IsPortInUse() const is called by 1 function:
![]()
ot::Ip6::Udp::IsPortInUse() const