]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine_iocp.h
Tweaks to icky icky select() engine (thanks Ersan) this MIGHT fix select problems...
[user/henk/code/inspircd.git] / include / socketengine_iocp.h
index ad3e581574015c13b2d30a0bd3027bafd710d563..b024828f1170654f878138f20af332b6704dba93 100644 (file)
@@ -6,7 +6,7 @@
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
- *            the file COPYING for details.
+ *         the file COPYING for details.
  *
  * ---------------------------------------------------
  */
@@ -212,6 +212,20 @@ public:
        EventHandler* GetIntRef(int fd);
 
        bool BoundsCheckFd(EventHandler* eh);
+
+       virtual int Accept(EventHandler* fd, sockaddr *addr, socklen_t *addrlen);
+
+       virtual int RecvFrom(EventHandler* fd, void *buf, size_t len, int flags, struct sockaddr *from, socklen_t *fromlen);
+
+       virtual int Blocking(int fd);
+
+       virtual int NonBlocking(int fd);
+
+       virtual int GetSockName(EventHandler* fd, sockaddr *name, socklen_t* namelen);
+
+       virtual int Close(int fd);
+
+       virtual int Close(EventHandler* fd);
 };
 
 /** Creates a SocketEngine