Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Socket.SetMulticastInterface
Sets the interface to use for multicast.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Socket | 7.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Socket.SetMulticastInterface"; SocketID; Interface ) More
Parameters
Parameter | Description | Example |
---|---|---|
SocketID | The socket ID received by Socket.Connect function. | $sock |
Interface | The IPv4 for the interface. | "192.168.1.123" |
Result
Returns OK or error.
Description
Sets the interface to use for multicast.If interface is empty text, we connect to all interfaces.
See also
Release notes
- Version 7.5
- Added Socket.GetMulticastInterface and Socket.SetMulticastInterface functions for UDP Sockets.
Blog Entries
This function checks for a license.
Created 19th October 2017, last changed 19th October 2017