From 53895206e3e0b28d51049a547c11ae4b4609a38a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 18 Aug 2020 22:50:41 +0200 Subject: WIP: FIX p2p --- LICENSE | 2 +- src/DirectConnection.cpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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"); -- cgit v1.2.3