1
0
forked from fsfw/fsfw

deleted old linux code

This commit is contained in:
2021-03-21 13:02:14 +01:00
parent 86577f4b80
commit b5a14bb9df
9 changed files with 102 additions and 543 deletions

View File

@ -70,12 +70,14 @@ ReturnValue_t UdpTmTcBridge::initialize() {
hints.ai_family = AF_INET;
hints.ai_socktype = SOCK_DGRAM;
hints.ai_protocol = IPPROTO_UDP;
#ifdef _WIN32
/* See:
https://docs.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf-ws2tcpip-getaddrinfo
for information about AI_PASSIVE. */
hints.ai_flags = AI_PASSIVE;
#endif
//#ifdef _WIN32
// /* See:
// https://docs.microsoft.com/en-us/windows/win32/api/ws2tcpip/nf-ws2tcpip-getaddrinfo
// and
//
// for information about AI_PASSIVE. */
// hints.ai_flags = AI_PASSIVE;
//#endif
/* Set up UDP socket:
https://en.wikipedia.org/wiki/Getaddrinfo