CURLOPT_LOCALPORT (3) Linux Manual Page
CURLOPT_LOCALPORT – set local port number to use for socket
Synopsis
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOCALPORT, long port);
CURLOPT_LOCALPORT – set local port number to use for socket
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_LOCALPORT, long port);