better error handling

This commit is contained in:
Robin Müller 2020-12-22 16:15:40 +01:00
parent 83458c851e
commit e674b9248a

View File

@ -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/