]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/socketengine.h
More stuff for allowing hostnames in <bind> and <link> again - note there is a FIXME...
[user/henk/code/inspircd.git] / include / socketengine.h
index d7a0f1c59f6003bf8a8865709a050a948ba76e9b..23fbd8d683c3ed487f35261b647aa3e8d1a0ffcc 100644 (file)
@@ -131,13 +131,18 @@ public:
         */
        int GetRemainingFds();
 
-       /** Delete a file descriptor f rom the engine
+       /** Delete a file descriptor from the engine
         * This function call deletes a file descriptor
         * from the engine, returning true if it succeeded
         * and false if it failed.
         */
        bool DelFd(int fd);
 
+       /** Returns true if a socket exists in the socket
+        * engine's list.
+        */
+       bool HasFd(int fd);
+
        /** Waits for an event.
         * Please note that this doesnt wait long, only
         * a couple of milliseconds. It returns a list