1 year ago

#164420

test-img

Martin Ayvazyan

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::..."
}

networking

rust

ipv6

tcpsocket

0 Answers

Your Answer

Accepted video resources