Skip to main content

addr_string

Function addr_string 

Source
pub fn addr_string(ip: &IpAddr, port: u16, scope_id: Option<u32>) -> String
Expand description

Build the address string for a UDP connection. For link-local IPv6 it appends the zone %<scope_id> (interface index); without it the OS cannot send to fe80::....