These are chat archives for rust-lang/rust

10th
Apr 2017
Marcin Jurczuk
@MrSpock
Apr 10 2017 07:32
I was able to bypass problem by providing pointer (&) to function and now it works like expected
However one quesion comes up - I don't know tokio-core internalls so well.
Does tokio-core Futures calls poll for every single packet arrvial with UDP nad how it handles multiple connections ? With single struct implementing Future (poll) or it creates copy of this struct for every connection ?
Marcin Jurczuk
@MrSpock
Apr 10 2017 14:35
Hi.