better error handling
This commit is contained in:
parent
83458c851e
commit
e674b9248a
@ -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/
|
||||||
|
Loading…
Reference in New Issue
Block a user