iw7-mod/deps/curl/docs/cmdline-opts/ipv4.md
2024-08-13 05:15:34 -04:00

25 lines
433 B
Markdown

---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Short: 4
Long: ipv4
Tags: Versions
Protocols:
Added: 7.10.8
Mutexed: ipv6
Requires:
Help: Resolve names to IPv4 addresses
Category: connection dns
Multi: mutex
See-also:
- http1.1
- http2
Example:
- --ipv4 $URL
---
# `--ipv4`
This option tells curl to use IPv4 addresses only when resolving hostnames,
and not for example try IPv6.