Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Socket.SetDataAvailableURL

Sets the URL to query when data is available.

Component Version macOS Windows Linux Server iOS SDK
Socket 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetDataAvailableURL"; SocketID; URL )   More

Parameters

Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock
URL The URL to trigger.

Result

Returns OK or error.

Description

Sets the URL to query when data is available.
$$ID$$ in the URL is replaced with socket ID.
Queries http/ftp/sftp URLs with CURL, other URLs passed to OS to open.

See also

Blog Entries

Created 11st October 2016, last changed 11st October 2016


Socket.SetDataAvailableHandler - Socket.SetErrorEvaluate

Feedback: Report problem or ask question.