Open comments for this post
Implemented a way to customize color theme through a color_theme.toml file.
Fixed some bugs that caused compilation errors in Linux.
Added columbus to the awesome-ratatui list repository.
Released 2 move versions of columbus in crates.io because the first release had a bug.
Released the latest version to the AUR.
Open comments for this post
After trying to create an ICMP socket, a UDP socket, I decided it was time to try other crates that offered cross platform ICMP sockets. One such crate was ping-rs. I included it in the project to send ping requests and receive the replies.
Then I wrote the logic for calculating the no. of packets that were sent, received and lost. Calculated the maximum, minimum and average RTT for the entire ping command.
Then formatted the output and added colour to it.
Wrote the README.md file.
Published the application to cargo. You can try it out by cargo install pingrs.
Created a GitHub release and ready to ship!!
Open comments for this post
Tried to implement UDP Sockets for Pinging the server with a Echo Request. By tracking the time needed for the response, I can find RTT. But issues in using UDP sockets from the server side. Also a problem arises when IPv6 is used instead of IPv4.
So, back to square 1. Searching for other possible options.
Open comments for this post
Added “/” to the end of directory names in the Explorer.
Added confirmation for delete feature.
Refactored some old code.
Open comments for this post
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.