mirror of
https://github.com/tokio-rs/tokio.git
synced 2026-08-22 00:00:11 +02:00
* Move to `std::net` as it's all purely UDP related * Rename to `UdpCodec` and `UdpFramed` to give a consistent `Udp` prefix * Add `RecvDgram`, rename `SendDGram` to `SendDgram` * Touch up some style here and there
12 lines
350 B
Rust
12 lines
350 B
Rust
//! TCP/UDP bindings for `tokio-core`
|
|
//!
|
|
//! This module contains the TCP/UDP networking types, similar to the standard
|
|
//! library, which can be used to implement networking protocols.
|
|
|
|
mod tcp;
|
|
mod udp;
|
|
|
|
pub use self::tcp::{TcpStream, TcpStreamNew};
|
|
pub use self::tcp::{TcpListener, Incoming};
|
|
pub use self::udp::{UdpSocket, UdpCodec, UdpFramed};
|