Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

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

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


Socket.SendMessageHex - Socket.SetDataAvailableEvaluate

Feedback: Report problem or ask question.