aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/event/ServerSocket.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index ec922d97f..600cdf8a7 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -49,6 +49,10 @@ public:
ServerSocket(EventLoop &_loop);
~ServerSocket();
+ EventLoop &GetEventLoop() {
+ return loop;
+ }
+
private:
OneServerSocket &AddAddress(const sockaddr &address, size_t length);