Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


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


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


Returns OK or error.


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