Expand description
Implementation of the libp2p Transport trait for TCP/IP.
§Usage
This crate provides a TcpConfig and TokioTcpConfig, depending on
the enabled features, which implement the Transport trait for use as a
transport with tet-libp2p-core or tet-libp2p-swarm.
Modules§
Structs§
- GenTcp
Config - The configuration for a TCP/IP transport capability for libp2p.
- TcpListen
Stream - A stream of incoming connections on one or more interfaces.
Type Aliases§
- TcpConfig
- The type of a
GenTcpConfigusing theasync-ioimplementation.