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

CURL.GetPrimaryIP

Queries primary IP.

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

Parameters

Parameter Description Example
curl The CURL session handle. $curl

Result

Returns the requested value or nothing on error.

Description

Queries primary IP.
Get the string holding the IP address of the most recent connection done with this curl handle.
This string may be IPv6 if that's enabled.

See also

Example Databases

This function checks for a license.

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


CURL.GetPreTransferTime - CURL.GetPrimaryPort