Does quic always build on top of Tcp? #4351
-
A noob question but I’m trying to setup quic, and pass it inside my SwarmBuilder, does quic always have to be built over tcp? I’m asking this after looking at an example in the rust libp2p repo |
Beta Was this translation helpful? Give feedback.
Answered by
thomaseizinger
Aug 24, 2023
Replies: 1 comment 7 replies
-
I am not sure what you are referring to with "over". Can you rephrase? As a good example on how to use QUIC, see: rust-libp2p/examples/chat-example/src/main.rs Lines 51 to 64 in 608e2db Note that this will become easier with #4120. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am not sure what you mean? QUIC implies TLS, you don't need to explicitly configure it. Can you share the code that is not working?