tokio-rs/tokio-core

Split UdpCodec example up

jrozner opened this issue · 0 comments

While the UdpCodec example shows how to use the trait to build a program that can communicate it does so in sort of an awkward way that isn't representative of a real network application. Change the example to run in two different modes, one that sends pings and one that responds to pongs, to create something a little more realistic.