Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

Socket.SetNewConnectionURL

Sets the URL to query when new connection is received.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Socket 6.5 Yes Yes Yes Yes Yes

MBS( "Socket.SetNewConnectionURL"; SocketID; URL )

Parameters

Parameter Description Example value
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

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


Socket.SetNewConnectionHandler   -   Socket.SetTag

Feedback: Report problem or ask question.




Links
MBS FileMaker blog