Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CURL.GetNumConnects

Queries new connections count for transfer.

Component Version macOS Windows Linux Server iOS SDK
CURL 2.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "CURL.GetNumConnects"; curl )   More

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns the requested value or nothing on error.

Description

Queries new connections count for transfer.
Query how many new connections libcurl had to create to achieve the previous transfer (only the successful connects are counted).
Combined with CURL.SetOptionRedirectCount you are able to know how many times libcurl successfully reused existing connection(s) or not.

Example Databases

This function checks for a license.

Created 18th August 2014, last changed 21st June 2021


CURL.GetNameLookupTime - CURL.GetOSErrNo