---
title: addressFamilyNotSupported
framework: system
role: symbol
role_heading: Type Property
path: system/errno/addressfamilynotsupported
---

# addressFamilyNotSupported

The address family isn’t supported by the protocol family.

## Declaration

```swift
static var addressFamilyNotSupported: Errno { get }
```

## Mentioned in

Adopting Swift Error Constants

## Discussion

Discussion An address incompatible with the requested protocol was used. For example, you shouldn’t necessarily expect to be able to use name server addresses with ARPA Internet protocols. The corresponding C error is EAFNOSUPPORT.

## See Also

### Network Address Errors

- [addressInUse](system/errno/addressinuse.md)
- [addressNotAvailable](system/errno/addressnotavailable.md)
- [addressRequired](system/errno/addressrequired.md)
