Query: curlinfo_primary_port
OS: mojave
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
CURLINFO_PRIMARY_PORT(3) curl_easy_getinfo options CURLINFO_PRIMARY_PORT(3)NAMECURLINFO_PRIMARY_PORT - get the latest destination port numberSYNOPSIS#include <curl/curl.h> CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PRIMARY_PORT, long *portp);DESCRIPTIONPass a pointer to a long to receive the destination port of the most recent connection done with this curl handle.PROTOCOLSAllEXAMPLETODOAVAILABILITYAdded in 7.21.0RETURN VALUEReturns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.SEE ALSOcurl_easy_getinfo(3), curl_easy_setopt(3), libcurl 7.54.0 February 03, 2016 CURLINFO_PRIMARY_PORT(3)
Related Man Pages |
---|
curlinfo_effective_url(3) - mojave |
curlinfo_http_version(3) - mojave |
curlinfo_local_port(3) - mojave |
curlinfo_num_connects(3) - mojave |
curlinfo_starttransfer_time(3) - mojave |