From e674b9248a272a48f1aed66e6550770bfb9abcf1 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 22 Dec 2020 16:15:40 +0100 Subject: [PATCH] better error handling --- osal/windows/TmTcWinUdpBridge.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/osal/windows/TmTcWinUdpBridge.cpp b/osal/windows/TmTcWinUdpBridge.cpp index 1f66290f..e1ba132e 100644 --- a/osal/windows/TmTcWinUdpBridge.cpp +++ b/osal/windows/TmTcWinUdpBridge.cpp @@ -138,6 +138,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/