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

Socket.SetNewConnectionURL

Sets the URL to query when new connection is received.

Component Version macOS Windows Linux Server iOS SDK
Socket 6.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetNewConnectionURL"; 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 new connection is received.
$$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.SetNewConnectionHandler - Socket.SetReceiveBufferSize