local-port.d 559 B

1234567891011121314
  1. c: Copyright (C) 1998 - 2022, 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. ---
  11. Set a preferred single number or range (FROM-TO) of local port numbers to use
  12. for the connection(s). Note that port numbers by nature are a scarce resource
  13. that will be busy at times so setting this range to something too narrow might
  14. cause unnecessary connection setup failures.