Skip to main content

advertised_addr

Function advertised_addr 

Source
fn advertised_addr(ep: &Endpoint, public_ip: Option<IpAddr>) -> Option<PeerAddr>
Expand description

The PeerAddr to advertise for ep, with its IP replaced by public_ip when both are the same family.