Community question ยท 3 years ago
Question #164420
TcpSocket bind to eth0 ipv6 address returns { code: 22, kind: InvalidInput, message: "Invalid argument" }
By trying to bing local routable IPv6 address(provided by eth0 and starting with fe80::) I get { code: 22, kind: InvalidInput, message: "Invalid argument" }
fn foo() {
let d = TcpSocket::new_v6();
d.bind(local_address).unwrap(); // local_address is like "fe80::..."
}