summaryrefslogtreecommitdiff
path: root/louloulibs/network/socket_handler.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/socket_handler.hpp')
-rw-r--r--louloulibs/network/socket_handler.hpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/louloulibs/network/socket_handler.hpp b/louloulibs/network/socket_handler.hpp
index 02e3b80..607a106 100644
--- a/louloulibs/network/socket_handler.hpp
+++ b/louloulibs/network/socket_handler.hpp
@@ -20,11 +20,10 @@ public:
SocketHandler& operator=(const SocketHandler&) = delete;
SocketHandler& operator=(SocketHandler&&) = delete;
- virtual void on_recv() = 0;
- virtual void on_send() = 0;
- virtual void connect() = 0;
+ virtual void on_recv() {}
+ virtual void on_send() {}
+ virtual void connect() {}
virtual bool is_connected() const = 0;
- virtual bool is_connecting() const = 0;
socket_t get_socket() const
{ return this->socket; }