You are browsing as a guest. Sign up (or log in) to start making projects!

Open comments for this post

1h 46m 1s logged

Created a Basic working of the ping command in Rust.

Started with writing my own ICMP socket with the socket2 crate, but the implementation was primarily for Linux and didn’t work on Windows.

For a more cross-platform option, I chose to use crates that could provide the functionality. One such crate was pinger. Used it to create the basic implementation that is shown in the picture.

0
3

Comments 0

No comments yet. Be the first!