CURLINFO_NUM_CONNECTS(3) curl_easy_getinfo options CURLINFO_NUM_CONNECTS(3)NAME
CURLINFO_NUM_CONNECTS - get number of created connections
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_NUM_CONNECTS, long *nump);
DESCRIPTION
Pass a pointer to a long to receive how many new connections libcurl had to create to achieve the previous transfer (only the successful
connects are counted). Combined with CURLINFO_REDIRECT_COUNT(3) you are able to know how many times libcurl successfully reused existing
connection(s) or not. See the connection options of curl_easy_setopt(3) to see how libcurl tries to make persistent connections to save
time.
PROTOCOLS
All
EXAMPLE
TODO
AVAILABILITY
Added in 7.12.3
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO curl_easy_getinfo(3), curl_easy_setopt(3),
libcurl 7.54.0 February 03, 2016 CURLINFO_NUM_CONNECTS(3)
Check Out this Related Man Page
CURLINFO_EFFECTIVE_URL(3) curl_easy_getinfo options CURLINFO_EFFECTIVE_URL(3)NAME
CURLINFO_EFFECTIVE_URL - get the last used URL
SYNOPSIS
#include <curl/curl.h>
CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_EFFECTIVE_URL, char **urlp);
DESCRIPTION
Pass in a pointer to a char pointer and get the last used effective URL.
In cases when you've asked libcurl to follow redirects, it may very well not be the same value you set with CURLOPT_URL(3).
The urlp pointer will be NULL or pointing to private memory you MUST NOT free - it gets freed when you call curl_easy_cleanup(3) on the
corresponding CURL handle.
PROTOCOLS
HTTP(S)
EXAMPLE
TODO
AVAILABILITY
Added in 7.4
RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not.
SEE ALSO curl_easy_getinfo(3), curl_easy_setopt(3),
libcurl 7.54.0 February 03, 2016 CURLINFO_EFFECTIVE_URL(3)
Hello there, just a quick question.....Can someone please explain the concept that enables you to establish a connection using the same userId
Thanx (1 Reply)
Hello All,
I have 2 qries about X connections on HP-UX :
1.How/where to determine whether "X connections" to the server are controlled.
2. How/where to determine whether "X11 connection" are tunnelled via ssh.
3. How/where to determine the "Time in minutes before unattended X terminals... (0 Replies)
Hi...,
I am using the getoptlong() function to handle the options.
For some options I am having the long option and for some other I don't want the long option.
So, what I have to specify in the place of long option field when declaring the longopt array. (1 Reply)
Hi,
In an AIX 5.3 machine, I want to know all existing network connections going out from the box. NETSTAT command will gove me all the active connections. I want all the connections (active or inactive). Is there any command or file that will give this ? (5 Replies)
Hi,
I want to list the time for how long a secure connections last to my server/blade. i am using netstat command to get the same, but not sure how to get the time for how long connections is being ESTABLISHED.
netstat -na | grep 'ESTABLISHED' | grep :443 |awk '{print $4}' | cut -d: -f1 |... (1 Reply)