Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

CURL.SetOptionLocalPortRange

This is the number of attempts curl should make to find a working local port number.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 2.5 Yes Yes Yes Yes Yes

MBS( "CURL.SetOptionLocalPortRange"; Handle; Value )

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The local port number attempts. 1

Result

Returns "OK" on success.

Description

This is the number of attempts curl should make to find a working local port number.
It starts with the given CURL.SetOptionLocalPort and adds one to the number for each retry. Setting this to 1 or below will make libcurl do only one try for the exact port number. Port numbers by nature are scarce resources that will be busy at times so setting this value to something too low might cause unnecessary connection setup failures.

See also LOCALPORTRANGE option in CURL manual.

See also

Created 18th August 2014, last changed 18th August 2014


CURL.SetOptionLocalPort   -   CURL.SetOptionLoginOptions

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins