from Hacker News

Ask HN: Example of a Robust TCP Server in Rust?

by ralston on 7/8/18, 7:46 PM with 1 comments

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.

  • by steveklabnik on 7/8/18, 8:11 PM

    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.