cache the TCP client address now #630

Merged
gaisser merged 3 commits from eive/fsfw:mueller/tcp-server-cache-client-addr into development 2022-05-23 14:42:13 +02:00
Showing only changes of commit 13cda86d23 - Show all commits

View File

@ -122,7 +122,6 @@ TcpTmTcServer::~TcpTmTcServer() { closeSocket(listenerTcpSocket); }
}
connSocket = accept(listenerTcpSocket, &clientSockAddr, &connectorSockAddrLen);
// connSocket = accept(listenerTcpSocket, nullptr, nullptr);
gaisser marked this conversation as resolved Outdated

Do we need that comment?

Do we need that comment?

can probably remove it

can probably remove it

comment removed

comment removed
if (connSocket == INVALID_SOCKET) {
handleError(Protocol::TCP, ErrorSources::ACCEPT_CALL, 500);