Meet us at at Real World in Orlando, Florida.

All functions   Mac OS X   Windows   Crossplatform   Components   Guides  
New in version: 2.0   2.1   2.2   2.3   2.4   2.5   2.6   2.7   2.8  

CURL.SetOptionLocalPortRange

Component: CURL
Version: 2.5
Mac OS X: Works
Windows: Works

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.

Feedback: Report problem or ask question.




Links
MBS Real Studio Plugins - Pfarrgemeinde Ministranten Nickenich