Skip to main content

XorPeerAddress

Type Alias XorPeerAddress 

Source
pub type XorPeerAddress = PeerAddress;
Expand description

PeerAddress implements XOR-PEER-ADDRESS attribute.

The XOR-PEER-ADDRESS specifies the address and port of the peer as seen from the TURN server. (For example, the peer’s server-reflexive transport address if the peer is behind a NAT.)

RFC 5766 Section 14.3.

Aliased Type§

pub struct XorPeerAddress {
    pub ip: IpAddr,
    pub port: u16,
}

Fields§

§ip: IpAddr§port: u16