Hacker News new | ask | show | jobs
Ask HN: Example of a Robust TCP Server in Rust?
2 points by ralston 2902 days ago
Can anyone point me to any code/blogs/documentation on building a robust TCP server in Rust (noob here)? I'm finding bits and pieces in the docs, but it would be great to see all the concepts in a single program.

Edit: Robust meaning - uses polling, accepts multiple clients (preferably multi-threaded), etc.

1 comments

If you wanna go low level, mio. High level, Tokio.

The APIs are in flux so the docs aren’t great. In three months, give or take, it will settle down significantly.