Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.1   6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.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


Socket.SetNewConnectionHandler   -   Socket.SetTimeToLive

Feedback: Report problem or ask question.




Links
MBS Xojo Chart Plugins