Merge pull request 'better error handling' (#329) from KSat/fsfw:mueller/osal-windows-tweak into development

Reviewed-on: fsfw/fsfw#329
This commit is contained in:
Steffen Gaisser 2020-12-22 17:34:41 +01:00
commit 52d9a55d06

View File

@ -138,6 +138,11 @@ void TmTcWinUdpBridge::handleBindError() {
<< "WSAStartup(...) call " << "necessary" << std::endl; << "WSAStartup(...) call " << "necessary" << std::endl;
break; break;
} }
case(WSAEADDRINUSE): {
sif::warning << "TmTcWinUdpBridge::handleBindError: WSAEADDRINUSE: "
<< "Port is already in use!" << std::endl;
break;
}
default: { default: {
/* /*
https://docs.microsoft.com/en-us/windows/win32/winsock/ https://docs.microsoft.com/en-us/windows/win32/winsock/