These are chat archives for rust-lang/rust

3rd
Apr 2017
Karthik Ravikanti
@plumenator
Apr 03 2017 03:52
Closest I could find is the deprecated module in mio :/
Michael Eden
@illegalprime
Apr 03 2017 03:53
:(
Aleksey Kladov
@matklad
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.
Tim
@tikue
Apr 03 2017 19:18
@illegalprime what type of channel?
Michael Eden
@illegalprime
Apr 03 2017 19:43
I'm just going to use tokio