aboutsummaryrefslogtreecommitdiffstats
path: root/include/socketengine_kqueue.h
diff options
context:
space:
mode:
authorGravatar brain2007-08-23 22:06:04 +0000
committerGravatar brain2007-08-23 22:06:04 +0000
commitd0d36795e807cf72295c6e73813e0c2daa0a71e7 (patch)
tree09ae4d94ed7b6f3038d2579037fd2c7ee93a6657 /include/socketengine_kqueue.h
parentTidyup some duplicated code (diff)
downloadinspircd++-d0d36795e807cf72295c6e73813e0c2daa0a71e7.tar.gz
inspircd++-d0d36795e807cf72295c6e73813e0c2daa0a71e7.tar.bz2
inspircd++-d0d36795e807cf72295c6e73813e0c2daa0a71e7.zip
Craquity craq De-craq!
This is probably broken on windows, do not attempt to use there yet unless you like broken stuff. Cant say for sure as i havent even tried to build yet and most likely wont tonight. --- Abstract most of the berkely socket API out into SocketEngine derived classes. SocketEngine base class implements standard berkely sockets that 'real mens systems' like linux and freebsd have. For socketengine_iocp we implement the windows specific nonesense like the special things needed for udp and accept (ick). All this to eliminate a bunch of ifdefs. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7810 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/socketengine_kqueue.h')
-rw-r--r--include/socketengine_kqueue.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/socketengine_kqueue.h b/include/socketengine_kqueue.h
index e7413d4bb..c34075cd2 100644
--- a/include/socketengine_kqueue.h
+++ b/include/socketengine_kqueue.h
@@ -53,6 +53,7 @@ public:
virtual int DispatchEvents();
virtual std::string GetName();
virtual void WantWrite(EventHandler* eh);
+ virtual void RecoverFromFork();
};
/** Creates a SocketEngine