logo
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 libp2p-core or libp2p-swarm.

Modules

Structs

The configuration for a TCP/IP transport capability for libp2p.

A stream of incoming connections on one or more interfaces.

Type Definitions

The type of a GenTcpConfig using the async-io implementation.