Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4    Statistic  

CURL.SetOptionLocalPort

This sets the local port number of the socket used for connection.

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

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

Parameters

Parameter Description Example value
Handle The CURL session handle. $curl
Value The port number (1-65535) 8000

Result

Returns "OK" on success.

Description

This sets the local port number of the socket used for connection.
This can be used in combination with CURL.SetOptionInterface and you are recommended to use CURL.SetOptionLocalPortRange as well when this is set. Valid port numbers are 1 - 65535.

See also


CURL.SetOptionKeyPassword   -   CURL.SetOptionLocalPortRange

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins