From dd168c56c95a870de3d178edda48507ca47168fe Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Oct 2006 18:22:36 +0000 Subject: WARNING: This commit breaks kqueue and select -- work in progress! epoll now allows both a write and a read event on a socket at the same time. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5580 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/socketengine.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/socketengine.h') diff --git a/include/socketengine.h b/include/socketengine.h index 1b68f1685..9aa651499 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -179,6 +179,8 @@ public: */ virtual bool AddFd(EventHandler* eh); + virtual void WantWrite(EventHandler* eh); + /** Returns the maximum number of file descriptors * you may store in the socket engine at any one time. * @return The maximum fd value -- cgit v1.2.3