Daniel P. Berrange 0a27af918b io: use bind() to check for IPv4/6 availability
Currently the test-io-channel-socket.c test uses getifaddrs
to see if an IPv4/6 address is present on any host NIC, as
a way to determine if IPv4/6 sockets can be used. This is
problematic because getifaddrs is not available on Win32.

Rather than testing indirectly via getifaddrs, just create
a socket and try to bind() to the loopback address instead.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2016-03-10 17:10:18 +00:00
..
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-19 10:50:37 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-23 12:43:05 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-01-29 15:07:23 +00:00
2016-02-16 14:29:27 +00:00
2016-01-29 15:07:23 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00
2016-02-16 14:29:27 +00:00