blob: 53025c6869bafcfae4e47c43095516c5743e19c4 [file] [log] [blame] [edit]
//! Networking primitives
//!
//! The types provided in this module are non-blocking by default and are
//! designed to be portable across all supported Mio platforms. As long as the
//! [portability guidelines] are followed, the behavior should be identical no
//! matter the target platform.
//!
//! [portability guidelines]: ../struct.Poll.html#portability
mod tcp;
mod udp;
pub use self::tcp::{TcpListener, TcpStream};
pub use self::udp::UdpSocket;