Enum IpMode
Defined in File common.h
Enum Documentation
-
enum class kiwix::IpMode
IpModeis used to configure aServerobject to listen for incoming connections not on a single IP address but on all addresses of the specified family.Values:
-
enumerator IPV4
Listen on all IPv4 addresses.
-
enumerator IPV6
Listen on all IPv6 addresses.
-
enumerator ALL
Listen on all available addresses.
-
enumerator AUTO
IpMode::AUTO(which is the default) must be used when an explicit (non-empty) IP address for listening is provided viaServer::setAddress(). If no such address is enforced, thenIpMode::AUTOis equivalent toIpMode::ALL.
-
enumerator IPV4