From 60d69c95c497945fbb7650dca21655fbfd9649f5 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 17 Dec 2020 17:10:27 +0100 Subject: [PATCH] address in use handling for socket --- osal/windows/TmTcWinUdpBridge.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osal/windows/TmTcWinUdpBridge.cpp b/osal/windows/TmTcWinUdpBridge.cpp index 7e283c2a..2af3daa5 100644 --- a/osal/windows/TmTcWinUdpBridge.cpp +++ b/osal/windows/TmTcWinUdpBridge.cpp @@ -137,6 +137,11 @@ void TmTcWinUdpBridge::handleBindError() { << "WSAStartup(...) call " << "necessary" << std::endl; break; } + case(WSAEADDRINUSE): { + sif::warning << "TmTcWinUdpBridge::handleBindError: WSAEADDRINUSE: " + << "Port is already in use!" << std::endl; + break; + } default: { /* https://docs.microsoft.com/en-us/windows/win32/winsock/