Skip to main content

XorRelayedAddress

Type Alias XorRelayedAddress 

Source
pub type XorRelayedAddress = RelayedAddress;
Expand description

XorRelayedAddress implements XOR-RELAYED-ADDRESS attribute.

It specifies the address and port that the server allocated to the client. It is encoded in the same way as XOR-MAPPED-ADDRESS.

RFC 5766 Section 14.5.

Aliased Type§

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

Fields§

§ip: IpAddr§port: u16