Closed SkamDart closed 9 months ago
Hey @SkamDart thanks for raising this and apologies for the delayed response.
Whats interesting is even if I disable ipv6 on my machine I can still create the transports fine, its just the actual pinging of ipv6 addresses that then correctly raise an error. What distro and kernel are you on?
In any case, I think #24 should address your problem. If you're still able, can you try again with the feature/disable_transports
branch?
Ran into a bit of a hiccup when using your library on a kernel with ipv6 disabled. (I bet you can see where this is going).
You can repro this using your example and disabling ipv6 support in your kernel with something like,
Your library rigthfully returns (Rust)
(strace)
It looks like I could use fastping_rs::send_ping manually but the ergonomics of this is a bit off in comparison to the rest of the library. Is the
send_ping
function the way to do only pings only over ipv4 or am I missing something here?Cheers