From 4f62fd64c5b56546db7a0310708a7eab389af610 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 9 Jun 2018 20:48:21 +0200 Subject: Add connect debug --- src/DirectConnection.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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) -- cgit v1.2.3