diff options
author | Francis Dupont <fdupont@isc.org> | 2024-09-01 22:39:43 +0200 |
---|---|---|
committer | Francis Dupont <fdupont@isc.org> | 2024-09-20 14:55:54 +0200 |
commit | 2139a9aed857d67325d8a0e91e14d6d6d76a8ee7 (patch) | |
tree | cc86a7e62823d9e4c112fced32f80dd07f454fb8 /src/lib/config/unix_command_mgr.h | |
parent | [#3506] Checkpoint: renamed get/set ControlSocketInfo (diff) | |
download | kea-2139a9aed857d67325d8a0e91e14d6d6d76a8ee7.tar.xz kea-2139a9aed857d67325d8a0e91e14d6d6d76a8ee7.zip |
[#3506] Improved UNIX code
Diffstat (limited to '')
-rw-r--r-- | src/lib/config/unix_command_mgr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/lib/config/unix_command_mgr.h b/src/lib/config/unix_command_mgr.h index 1bed1e532e..69406894d6 100644 --- a/src/lib/config/unix_command_mgr.h +++ b/src/lib/config/unix_command_mgr.h @@ -56,6 +56,14 @@ public: /// @param timeout New connection timeout in milliseconds. void setConnectionTimeout(const long timeout); + /// @brief Use external sockets flag. + /// + /// Add sockets as external sockets of the interface manager + /// so available I/O on them makes a waiting select to return. + /// + /// @param use_external True (default) add external sockets. + void addExternalSockets(bool use_external = true); + /// @brief Opens unix control socket with parameters specified in socket_info /// (required parameters: socket-type: unix, socket-name:/unix/path). /// |