These are chat archives for rust-lang/rust

Apr 2017
Karthik Ravikanti
Apr 03 2017 03:52
Closest I could find is the deprecated module in mio :/
Michael Eden
Apr 03 2017 03:53
Aleksey Kladov
Apr 03 2017 08:40
@illegalprime You can't do this with std::mpsc. What you can do is convert an event from TcpListener to a channel message. That is, event loop does select only on the socket and then pushes result to a channel. Then you can select among that channel and others.
Apr 03 2017 19:18
@illegalprime what type of channel?
Michael Eden
Apr 03 2017 19:43
I'm just going to use tokio