diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index b3a50f91a..6e4abf1eb 100644 --- a/include/socket.h +++ b/include/socket.h @@ -56,6 +56,7 @@ public: virtual void OnClose(); virtual char* Read(); std::string GetIP(); + bool Timeout(time_t current); virtual int Write(std::string data); virtual int OnIncomingConnection(int newfd, char* ip); void SetState(InspSocketState s); |