Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add only connect #52

Merged
merged 1 commit into from
Feb 3, 2025

Conversation

MarcoPolo
Copy link
Contributor

Useful to count roundtrips.

Surprisingly I'm seeing WebTransport connections take 4 round trips? I've not investigated further yet.

You can use a bootstrapper to get a WebTransport node:

vole libp2p identify /dns4/am6.bootstrap.libp2p.io/udp/4001/quic-v1/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb

And then connect to to a returned WebTransport address

$ vole libp2p connect /ip4/147.75.87.27/udp/4001/quic-v1/webtransport/certhash/uEiA7MYic9brWTEruQRV2FpZKdP3lxZ77o5ZMu8URg7fpUQ/certhash/uEiBomnPFoc0Xq3BQ5THkZSYmhEEHmMtto6ZcunZCaF3Wpw/p2p/QmbLHAnMoJPWSCR5Zhtx6BHJX9KiKNN6tpvbUcqanj75Nb
Connect took: 2.569578681s
Average RTT: 637.213822ms
Number of roundtrips to Connect: 4.032521882427089

Useful to count roundtrips
@aschmahmann
Copy link
Contributor

Issue with WebTransport is libp2p/go-libp2p#3161

@aschmahmann aschmahmann merged commit 4750bf3 into ipfs-shipyard:main Feb 3, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants