local-port.d 533 B

123456789101112131415
  1. c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
  2. SPDX-License-Identifier: curl
  3. Long: local-port
  4. Arg: <num/range>
  5. Help: Force use of RANGE for local port numbers
  6. Added: 7.15.2
  7. Category: connection
  8. Example: --local-port 1000-3000 $URL
  9. See-also: globoff
  10. Multi: single
  11. ---
  12. Set a preferred single number or range (FROM-TO) of local port numbers to use
  13. for the connection(s). Note that port numbers by nature are a scarce resource
  14. so setting this range to something too narrow might cause unnecessary
  15. connection setup failures.