diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/socket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/socket.h b/include/socket.h index e9a832b9c..b8f6387d3 100644 --- a/include/socket.h +++ b/include/socket.h @@ -152,6 +152,9 @@ class ListenSocket : public EventHandler /** Handle an I/O event */ void HandleEvent(EventType et, int errornum = 0); + /** Close the socket + */ + ~ListenSocket(); }; #endif |