aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-06-09 20:48:21 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 22:56:48 +0200
commit4f62fd64c5b56546db7a0310708a7eab389af610 (patch)
treecfdcfa94727544d2eb37dfa83238b05ae8b79782 /src
parent664ab48b7abe73ece0dd4079cbd04cb9f4a3867d (diff)
Add connect debug
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 b89d35f..03fc27c 100644
--- a/src/DirectConnection.cpp
+++ b/src/DirectConnection.cpp
@@ -100,6 +100,7 @@ namespace sibs
return;
}
+ Log::debug("DirectConnections: Connecting to peer (ip: %s, port: %d)", address.getAddress().c_str(), address.getPort());
if(UDT::connect(socket, (sockaddr*)&address.address, sizeof(address.address)) == UDT::ERROR)
{
if(connectCallbackFunc)