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.SetBroadcast

Enables or disables whether broadcasts are allowed.

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

MBS( "Socket.SetBroadcast"; SocketID; Value )

Parameters

Parameter Description Example value
SocketID The socket ID received by Socket.Connect function. $sock
Value The new setting. 1 to enable to 0 to disable. 1

Result

Returns OK or error.

Description

Enables or disables whether broadcasts are allowed.

Examples

Enable Broadcast Mode:

Set Variable [$r; Value:MBS("Socket.SetBroadcast"; $$sock; 1)]

See also

Example Databases

Created 22nd August 2015, last changed 26th January 2016


Socket.SendMessageHex   -   Socket.SetDataAvailableEvaluate

Feedback: Report problem or ask question.




Links
MBS Xojo blog