# IPv4_MAX_STR_LEN variable · @imqueue/net

Source: https://imqueue.org/api/net/latest/net.ipv4_max_str_len/
Published: 2026-08-01
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/net 3.0.2 — generated reference, not hand-written

Longest an IPv4 address can be as text: 15 characters, from four three-digit octets plus three dots.

**Signature:**

```typescript
IPv4_MAX_STR_LEN = 15
```

## Remarks

Excludes any `/prefix`, so a CIDR record needs up to 18. Note the lower-case `v`, which is inconsistent with the other constants here but is the published name.

