[][src]Crate libp2prs_tcp

Implementation of the libp2p Transport trait for TCP/IP.

Usage

This crate provides TcpConfig

The TcpConfig struct implements the Transport trait of the core library. See the documentation of core and of libp2p in general to learn how to use the Transport trait.

Structs

TcpConfig

Represents the configuration for a TCP/IP transport capability for libp2p.

TcpTransListener

Wraps around a TcpListener.

TcpTransStream

Wraps around a TcpStream and adds logging for important events.