ot::Ip6::Udp::SocketHandle::GetPeerName() const method
Returns the peer's socket address.
Syntax
const SockAddr &GetPeerName(void) const; Return value
A reference to the peer's socket address.
![]()
if (GetPeerName().mPort != 0)
ot::Ip6::Udp::SocketHandle::GetPeerName() const is called by 1 function:
![]()
ot::Ip6::Udp::SocketHandle::GetPeerName() const