aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2020-08-18 22:50:41 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:50:41 +0200
commit53895206e3e0b28d51049a547c11ae4b4609a38a (patch)
treebb213daf2faf891ea9a4ae24294a1b91493033c4 /src
parent80465cbcd051e7a8f18aa1b6c557f4c8cca1077b (diff)
WIP: FIX p2p
Diffstat (limited to 'src')
-rw-r--r--src/DirectConnection.cpp1
1 files changed, 1 insertions, 0 deletions
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");