summaryrefslogtreecommitdiff
path: root/include/socketengine.h
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-30 18:22:36 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-30 18:22:36 +0000
commitdd168c56c95a870de3d178edda48507ca47168fe (patch)
treeccb5fecc49eb49286600edc250ff414fbb6d2931 /include/socketengine.h
parent2aa6c66308126842ce386a3c3d699dd8ab505bdf (diff)
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
Diffstat (limited to 'include/socketengine.h')
-rw-r--r--include/socketengine.h2
1 files changed, 2 insertions, 0 deletions
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