From cd7b439f4c70230fa88f84843a23468e399d6029 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 4 Dec 2024 08:41:09 +0100 Subject: common: Update Socket --- contrib/Socket.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'contrib/Socket.h') diff --git a/contrib/Socket.h b/contrib/Socket.h index ab2a14a..7709145 100644 --- a/contrib/Socket.h +++ b/contrib/Socket.h @@ -31,9 +31,11 @@ #include "ThreadsafeQueue.h" #include #include -#include +#include #include #include +#include +#include #include #include @@ -236,6 +238,8 @@ class TCPClient { TCPSocket m_sock; std::string m_hostname; int m_port; + + std::optional m_last_received_packet_ts; }; /* Helper class for TCPDataDispatcher, contains a queue of pending data and -- cgit v1.2.3