Yamakaky / tun-rs

Tools in rust to manage TUN/TAP interfaces.
4 stars 0 forks source link

Implements `tokio_core::io::Io` for `Tun` #2

Closed tailhook closed 7 years ago

tailhook commented 7 years ago

This should be enough to use framed or whatever other tokio tools on Tun.

This kinda partially answers https://github.com/carllerche/mio/issues/500

I've just prototyped this thing, but not tested it yet.

Yamakaky commented 7 years ago

Nice! Tell me when you have confirmed it works.

tailhook commented 7 years ago

Well, it compiles. I'm not sure how to continue with it. Do you have an easy way to test it?