Skip to main content

MdnsEndpoint

Type Alias MdnsEndpoint 

Source
pub type MdnsEndpoint = EndpointAddr;

Aliased Type§

pub struct MdnsEndpoint {
    pub primary: SocketAddr,
    pub agent: Option<SocketAddr>,
    /* private fields */
}

Fields§

§primary: SocketAddr

Primary address (the direct address, or the outer/public address for NAT)

§agent: Option<SocketAddr>

Agent address used for NAT traversal (present when NAT flag is set)