]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/socketengine_iocp.cpp
Fixed an issue that could cause empty parameters in module commands to not be sent...
[user/henk/code/inspircd.git] / src / socketengine_iocp.cpp
index f1f4f02890c5bd791858fce74d894d1c2e66b257..f7448f85ff80af5924cb1f0a2688ea1ee8eb5ccc 100644 (file)
@@ -504,4 +504,13 @@ int IOCPEngine::NonBlocking(int fd)
        ioctlsocket(s, FIONBIO, &opt);
 }
 
+int IOCPEngine::Close(int fd)
+{
+       return closesocket(socket);
+}
+
+int IOCPEngine::Close(EventHandler* fd)
+{
+       return this->Close(fd->GetFd());
+}