diff options
Diffstat (limited to 'include/socketengine.h')
-rw-r--r-- | include/socketengine.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h index d02ec671a..ecb8fa96e 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -120,6 +120,16 @@ public: */ char GetType(int fd); + /** Returns the maximum number of file descriptors + * you may store in the socket engine at any one time. + */ + int GetMaxFds(); + + /** Returns the number of file descriptor slots + * which are available for storing fds. + */ + int GetRemainingFds(); + /** Delete a file descriptor f rom the engine * This function call deletes a file descriptor * from the engine, returning true if it succeeded |