From 4419f4a6a17cb3cd19434f2f3e826d285776227e Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 18 Aug 2020 22:50:41 +0200 Subject: WIP: FIX p2p --- src/DirectConnection.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/DirectConnection.cpp b/src/DirectConnection.cpp index 5cfafb7..6576264 100644 --- a/src/DirectConnection.cpp +++ b/src/DirectConnection.cpp @@ -297,6 +297,7 @@ namespace sibs } int socketId = socket->udtSocket; + rendezvous connection requires closing the connection and reusing it... read udt manual Log::debug("DirectConnections: Connecting to %s peer (ip: %s, port: %d, rendezvous: %s, p2p: %s)", server ? "server" : "client", address.getAddress().c_str(), address.getPort(), rendezvous ? "yes" : "no", options.useP2p ? "yes" : "no"); -- cgit v1.2.3