I worked with raw sockets in C. I want to do the same in Rust. As far as I know, there is no such low-level functionality in the standard library. How can I make raw socket calls regardless?
If you're ending up here from google, this is now available on rust as a crate called pnet
https://crates.io/crates/pnet
The docs are here:
https://docs.rs/pnet
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With