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: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

Socket.SetErrorURL

Sets the URL to query when error happens.

Component Version macOS Windows Linux Server iOS SDK
Socket 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetErrorURL"; 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 error happens.
$$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.SetErrorHandler - Socket.SetMulticastInterface

Feedback: Report problem or ask question.