Man Page: curlinfo_primary_port
Operating Environment: mojave
Section: 3
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_pretransfer_time(3) - mojave |
| curlinfo_effective_url(3) - mojave |
| curlinfo_local_port(3) - mojave |
| curlinfo_response_code(3) - mojave |
| curlinfo_scheme(3) - mojave |
| Similar Topics in the Unix Linux Community |
|---|
| 12-Core MacPro (2013) kernel_task over 1200% |
| Shopt -s histappend |
| Cannot extract libraries using sed |
| Controlling user input |
| How can I direct messages from mac console.app to a log file? |