holepunch用法提议 #2817
Answered
by
Stebalien
wulalawulala
asked this question in
Q&A
holepunch用法提议
#2817
-
当使用holepunch的时候能否像使用/p2p-circuit/p2p/这样,让两个节点自动通过中继交换信息,通过中继自动打洞比如改成/direct-circuit/p2p/然后两者就能建立连接 |
Beta Was this translation helpful? Give feedback.
Answered by
Stebalien
Jun 2, 2024
Replies: 1 comment 1 reply
-
Unless I'm misunderstanding your question, that's how it works.
However note, this has only been implemented for QUIC (UDP) at the moment, as TCP-based hole-punching is significantly more complex. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
MarcoPolo
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unless I'm misunderstanding your question, that's how it works.
/p2p-circuit
.However note, this has only been implemented for QUIC (UDP) at the moment, as TCP-based hole-punching is significantly more complex.