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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

Socket.SetMulticastLoop

Sets whether multicast packets are also sent to the sending socket.

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

Parameters

Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock
Value The new setting. Either 1 to loop or 0 to not loop. 1

Result

Returns OK or error.

Description

Sets whether multicast packets are also sent to the sending socket.

Examples

Enable multicast loop:

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

See also

Example Databases

Blog Entries

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


Socket.SetMulticastInterface - Socket.SetMulticastTimeToLive

Feedback: Report problem or ask question.