p2p/protocol/holepunch/holepunch_service library

Package holepunch provides the holepunch service for libp2p.

The holepunch service provides direct connection establishment capabilities for libp2p nodes behind NATs/firewalls. It coordinates hole punching between peers to establish direct connections.

This is a port of the Go implementation from go-libp2p/p2p/protocol/holepunch to Dart, using native Dart idioms.

Classes

HolePunchService
HolePunchService is the interface for the holepunch service.