1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! TCP utility types.

pub(crate) mod listener;

cfg_not_wasi! {
    pub(crate) mod socket;
}

mod split;
pub use split::{ReadHalf, WriteHalf};

mod split_owned;
pub use split_owned::{OwnedReadHalf, OwnedWriteHalf, ReuniteError};

pub(crate) mod stream;
pub(crate) use stream::TcpStream;