Define AVS_COMMONS_NET_POSIX_AVS_SOCKET_HAVE_GAI_STRERROR

Define Documentation

AVS_COMMONS_NET_POSIX_AVS_SOCKET_HAVE_GAI_STRERROR

Options related to avs_net’s default implementation of TCP and UDP sockets.

These options make sense only when AVS_COMMONS_NET_WITH_POSIX_AVS_SOCKET is enabled. They describe capabilities of the Unix-like environment in which the library is built.

Note that if AVS_COMMONS_POSIX_COMPAT_HEADER is defined, it might redefine these flags independently of the settings in this file. Is the gai_strerror() function available?

Enabling this flag will provide more detailed log messages in case that getaddrinfo() fails. If this flag is disabled, numeric error codes values will be logged.