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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    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

This function checks for a license.

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


Socket.SetErrorHandler - Socket.SetMulticastInterface

💬 Ask a question or report a problem