base/socket_unittest.cc
bool IsUnspecOrEmptyIP(const IPAddress& address) {
#if !defined(WEBRTC_WIN)
  return IPIsAny(address);
#else
  return address.family() == AF_UNSPEC;
#endif
}
// For unbound sockets, GetLocalAddress / GetRemoteAddress return AF_UNSPEC
// values on Windows, but an empty address of the same family on Linux/MacOS X.
For unbound sockets, GetLocalAddress / GetRemoteAddress return AF_UNSPEC
values on Windows, but an empty address of the same family on Linux/MacOS X.
For unbound sockets GetLocalAddress / GetRemoteAddress return AF_UNSPEC values on Windows but an empty address of the same family on Linux / MacOS X .
bool IsUnspecOrEmptyIP(const IPAddress& address) {
#if !defined(WEBRTC_WIN)
  return IPIsAny(address);
#else
  return address.family() == AF_UNSPEC;
#endif
}
bool IsUnspecOrEmptyIP ( const IPAddress & address ) { #if ! defined ( WEBRTC_WIN ) return IPIsAny ( address ) ; #else return address . family ( ) == AF_UNSPEC ; #endif }
For unbound sockets, GetLocalAddress / GetRemoteAddress return AF_UNSPEC
values on Windows, but an empty address of the same family on Linux/MacOS X.
For unbound sockets GetLocalAddress / GetRemoteAddress return AF_UNSPEC values on Windows but an empty address of the same family on Linux / MacOS X .