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.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2    Statistic  


Receive the active socket used by this curl session.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
CURL 8.2 Yes Yes Yes Yes Yes
MBS( "CURL.GetActiveSocket"; curl )   More


Parameter Description Example value
curl The CURL session handle. $curl


Returns number or error.


Receive the active socket used by this curl session.
If the socket is no longer valid, -1 is returned. When you finish working with the socket, the CURL.Cleanup closes the socket and cleanup other resources associated with the handle. This is typically used in combination with CURL.SetOptionConnectOnly.
This option was added as a replacement for CURL.GetLastSocket since that one isn't working on all platforms.

See also

Created 15th April 2018, last changed 15th April 2018

CURL.FormFinish   -   CURL.GetAppConnectTime

Feedback: Report problem or ask question.

MBS Xojo Plugins