CURLOPT_LOCALPORTRANGE (3) Linux Manual Page
CURLOPT_LOCALPORTRANGE – number of additional local ports to try Synopsis #include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOCALPORTRANGE, long range); Description Pass a long. The range argument is the number of attempts libcurl will make to find a working local port number. It starts with the given CURLOPT_LOCALPORT(3) and adds one to the number for each retry….
