From 6a73e332408ad23e95c74cc9ebe9c710ad3bcac4 Mon Sep 17 00:00:00 2001 From: Austin Ferguson Date: Wed, 1 Nov 2023 10:13:53 -0400 Subject: [PATCH] Add print showing what port the server is using --- source/Interfaces/NetWorth/NetworkInterface.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/Interfaces/NetWorth/NetworkInterface.hpp b/source/Interfaces/NetWorth/NetworkInterface.hpp index 253e317f..a9b2494b 100644 --- a/source/Interfaces/NetWorth/NetworkInterface.hpp +++ b/source/Interfaces/NetWorth/NetworkInterface.hpp @@ -49,6 +49,7 @@ namespace netWorth{ * @return true if successful */ virtual bool BindSocket(UdpSocket &socket, unsigned short port) { + std::cout << "Binding socket on port: " << port << std::endl; if (socket.bind(port) != Socket::Status::Done) { std::cerr << "Failed to bind socket" << std::endl; return false;