quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

socks4a.md (1042B)


      1 ---
      2 c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
      3 SPDX-License-Identifier: curl
      4 Long: socks4a
      5 Arg: <host[:port]>
      6 Help: SOCKS4a proxy on given host + port
      7 Added: 7.18.0
      8 Category: proxy
      9 Multi: single
     10 See-also:
     11   - socks4
     12   - socks5
     13   - socks5-hostname
     14 Example:
     15   - --socks4a hostname:4096 $URL
     16 ---
     17 
     18 # `--socks4a`
     19 
     20 Use the specified SOCKS4a proxy. If the port number is not specified, it is
     21 assumed at port 1080. This asks the proxy to resolve the hostname.
     22 
     23 To specify proxy on a Unix domain socket, use localhost for host, e.g.
     24 `socks4a://localhost/path/to/socket.sock`
     25 
     26 This option overrides any previous use of --proxy, as they are mutually
     27 exclusive.
     28 
     29 This option is superfluous since you can specify a socks4a proxy with --proxy
     30 using a socks4a:// protocol prefix. (Added in 7.21.7)
     31 
     32 --preproxy can be used to specify a SOCKS proxy at the same time --proxy is
     33 used with an HTTP/HTTPS proxy (added in 7.52.0). In such a case, curl first
     34 connects to the SOCKS proxy and then connects (through SOCKS) to the HTTP or
     35 HTTPS proxy.