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

Socket.SetBroadcast

Enables or disables whether broadcasts are allowed.

Component Version macOS Windows Linux Server iOS SDK
Socket 5.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.SetBroadcast"; SocketID; Value )   More

Parameters

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

Blog Entries

This function checks for a license.

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


Socket.SendMessageHex - Socket.SetDataAvailableEvaluate