Define AVS_COMMONS_NET_POSIX_AVS_SOCKET_WITHOUT_IN6_V4MAPPED_SUPPORT

Define Documentation

AVS_COMMONS_NET_POSIX_AVS_SOCKET_WITHOUT_IN6_V4MAPPED_SUPPORT

Should be defined if IPv4-mapped IPv6 addresses (::ffff:0.0.0.0/32) are NOT supported by the underlying platform.

Enabling this flag will prevent avs_net from using IPv4-mapped IPv6 addresses and instead re-open and re-bind the socket if a connection to an IPv4 address is requested on a previously created IPv6 socket.

This may result in otherwise redundant socket(), bind() and close() system calls to be performed, but may be necessary for interoperability with some platforms.