1
0
forked from fsfw/fsfw

improved error handling

This commit is contained in:
2021-03-12 02:15:21 +01:00
parent b071c850af
commit e92d3901f7
9 changed files with 187 additions and 311 deletions

View File

@ -41,23 +41,9 @@ private:
struct sockaddr_in serverAddress;
int serverAddressLen = 0;
//! Access to the client address is mutex protected as it is set
//! by another task.
//! Access to the client address is mutex protected as it is set by another task.
MutexIF* mutex;
enum class ErrorSources {
SOCKET_CALL,
SETSOCKOPT_CALL
};
void handleSocketError();
void handleBindError();
void handleSendError();
ReturnValue_t oldSetup();
};
#endif /* FSFW_OSAL_HOST_TMTCWINUDPBRIDGE_H_ */