diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-07-09 13:02:37 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2015-02-23 13:56:08 +0100 |
commit | b86547dc1ef407ca3838444533bc7145e32a0d90 (patch) | |
tree | 3aa692def62796a5debe705ebc29d40b311e38cb /src/network/socket_handler.hpp | |
parent | a17135720e77c03e66679852198e46a070d56f4d (diff) | |
download | biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.gz biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.bz2 biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.tar.xz biboumi-b86547dc1ef407ca3838444533bc7145e32a0d90.zip |
Implement async DNS resolution using c-ares
fix #2533
Diffstat (limited to 'src/network/socket_handler.hpp')
-rw-r--r-- | src/network/socket_handler.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/socket_handler.hpp b/src/network/socket_handler.hpp index 9a894a4..0858474 100644 --- a/src/network/socket_handler.hpp +++ b/src/network/socket_handler.hpp @@ -1,6 +1,7 @@ #ifndef SOCKET_HANDLER_HPP # define SOCKET_HANDLER_HPP +#include <config.h> #include <memory> class Poller; @@ -19,6 +20,7 @@ public: virtual void on_send() = 0; virtual void connect() = 0; virtual bool is_connected() const = 0; + socket_t get_socket() const { return this->socket; } |