re-order fields in TcpConfig

This commit is contained in:
Robin Müller 2023-01-30 14:24:28 +01:00
parent 9a4ae550ab
commit 7766b24a1d
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,8 @@ class TcpTmTcServer : public SystemObject, public TcpIpBase, public ExecutableOb
*/
int tcpTmFlags = 0;
std::string tcpPort = DEFAULT_SERVER_PORT;
/**
* Sets the SO_REUSEADDR option on the socket. See
* https://man7.org/linux/man-pages/man7/socket.7.html for more details. This option is
@ -77,7 +79,6 @@ class TcpTmTcServer : public SystemObject, public TcpIpBase, public ExecutableOb
*/
bool reusePort = false;
std::string tcpPort = DEFAULT_SERVER_PORT;
};
enum class ReceptionModes { SPACE_PACKETS };