aboutsummaryrefslogtreecommitdiff
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
parent80465cbcd051e7a8f18aa1b6c557f4c8cca1077b (diff)
WIP: FIX p2p
-rw-r--r--LICENSE2
-rw-r--r--src/DirectConnection.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/LICENSE b/LICENSE
index 1e02587..9d3f9f8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,4 +1,4 @@
-Copyright 2019 Aleksi Lindeman
+Copyright 2019 dec05eba
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
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");