HACKER Q&A
📣 jessym

How to learn about network programming (in Rust)?


Hello HN!

I would like to learn a bit more about network programming, because I have this idea of building a reverse proxy in Rust.

- I can read and write some basic Rust, but I'm struggling hard with all things related to networking (the mio library, command line tools such as nc, what really is a socket or tcp?)

- Are there any Rust-specific networking resources you can recommend for beginners?

- If not, any general networking resources? Preferably something accessible to somebody who doesn't know C.

- For what it's worth, I have about 8 years of experience with (modern) Java for web development.

Really looking forward to your thoughts and ideas, as I'm feeling a bit lost.

Thank you!


  👤 sn9 Accepted Answer ✓
There's a bit of network programming in Programming Rust. You can check the table of contents to see if it's what you're looking for.

https://www.amazon.com/Programming-Rust-Fast-Systems-Develop...


👤 arthurcolle
Is there something about the std::net documentation that you find difficult to grok? https://doc.rust-lang.org/std/net/

Other than that, I wrote this blog post about some useful specific Rust resources: https://world.hey.com/arthurcolle/some-useful-rust-resources...

Not a Rust expert, just someone that wrote a useful crate or two.