Skip to content

Commit

Permalink
fix: ensure we enable shared listener
Browse files Browse the repository at this point in the history
  • Loading branch information
2color committed Jan 8, 2025
1 parent b0760e5 commit c16ebd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/autotls/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ func main() {
// Configure the TCP transport
libp2p.Transport(tcp.NewTCPTransport),

// Share the same TCP listener between the TCP and WS transports
libp2p.ShareTCPListener(),

// Configure the QUIC transport
libp2p.Transport(quic.NewTransport),

Expand Down

0 comments on commit c16ebd9

Please sign in to comment.