summaryrefslogtreecommitdiff
path: root/louloulibs/network/poller.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'louloulibs/network/poller.hpp')
-rw-r--r--louloulibs/network/poller.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/louloulibs/network/poller.hpp b/louloulibs/network/poller.hpp
index fc1a1a1..e39e438 100644
--- a/louloulibs/network/poller.hpp
+++ b/louloulibs/network/poller.hpp
@@ -74,6 +74,10 @@ public:
* Returns the number of SocketHandlers managed by the poller.
*/
size_t size() const;
+ /**
+ * Whether the given socket is managed by the poller
+ */
+ bool is_managing_socket(const socket_t socket) const;
private:
/**