Registry / networking / libp2p-go-reuseport-transport

libp2p-go-reuseport-transport

JSON →
library0.2.0gogounverified

Package tcpreuse provides a basic transport for automatically and intelligently reusing TCP ports in libp2p.

go get github.com/libp2p/go-reuseport-transport
INSTALL
IMPORT
SIG · LIBP2P-GO-REUSEPOR
L
libp2p-go-reuseport-transport
networkinggov0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

tcpreuse
github.com/libp2p/go-reuseport-transport

Shows basic usage of the Transport for TCP port reuse.

package main import ( "github.com/libp2p/go-reuseport-transport" ) func main() { tr := &tcpreuse.Transport{} // Use tr.Listen and tr.Dial for port reuse }
Debug
Known issues
breakingThis package is deprecated and has moved to github.com/libp2p/go-libp2p/p2p/net/reuseport.
fix
Use github.com/libp2p/go-libp2p/p2p/net/reuseport instead.
affects: >=0.2.0
Upgrade
Version history
0.2.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
libp2p-go-reuseport-transport — go get libp2p-go-reuseport-transport · libregistry