summaryrefslogtreecommitdiff
path: root/include/socketengine_iocp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/socketengine_iocp.h')
-rw-r--r--include/socketengine_iocp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/include/socketengine_iocp.h b/include/socketengine_iocp.h
index f4825c6b4..ad3e58157 100644
--- a/include/socketengine_iocp.h
+++ b/include/socketengine_iocp.h
@@ -114,6 +114,11 @@ class IOCPEngine : public SocketEngine
map<int, EventHandler*> m_binding;
public:
+ /** Holds the preallocated buffer passed to WSARecvFrom
+ * function. Yes, I know, it's a dirty hack.
+ */
+ udp_overlap * udp_ov;
+
/** Creates an IOCP Socket Engine
* @param Instance The creator of this object
*/
@@ -206,10 +211,7 @@ public:
*/
EventHandler* GetIntRef(int fd);
- /** Holds the preallocated buffer passed to WSARecvFrom
- * function. Yes, I know, it's a dirty hack.
- */
- udp_overlap * udp_ov;
+ bool BoundsCheckFd(EventHandler* eh);
};
/** Creates a SocketEngine