---
title: "NWEndpoint.Host.ipv4(_:)"
framework: network
role: symbol
role_heading: Case
path: "network/nwendpoint/host/ipv4(_:)"
---

# NWEndpoint.Host.ipv4(_:)

A host represented as an IPv4 address.

## Declaration

```swift
case ipv4(IPv4Address)
```

## See Also

### Accessing Host Types

- [NWEndpoint.Host.name(_:_:)](network/nwendpoint/host/name(_:_:).md)
- [NWEndpoint.Host.ipv6(_:)](network/nwendpoint/host/ipv6(_:).md)
