1 //! TCP/UDP bindings for `tokio-core` 2 //! 3 //! This module contains the TCP/UDP networking types, similar to the standard 4 //! library, which can be used to implement networking protocols. 5 6 mod tcp; 7 mod udp; 8 9 pub use self::tcp::{TcpStream, TcpStreamNew}; 10 pub use self::tcp::{TcpListener, Incoming}; 11 pub use self::udp::{UdpSocket, UdpCodec, UdpFramed, SendDgram, RecvDgram}; 12