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.3   9.4   9.5   10.0   10.1   10.2   10.3   10.4   10.5   10.6    Statistic    FMM    Blog  

Socket.AddMembership

Adds this socket to a multicast group.

Component Version macOS Windows Linux Server FileMaker iOS SDK
Socket 7.5 Yes Yes Yes Yes Yes
MBS( "Socket.AddMembership"; SocketID; MultiAddress; InterfaceAddress )   More

Parameters

Parameter Description Example
SocketID The socket ID received by Socket.Connect function. $sock
MultiAddress The IPv4 address of the gorup to join.
InterfaceAddress The IPv4 address of the network interface to use. Can be empty for any interface.

Result

Returns OK or error.

Description

Adds this socket to a multicast group.
Internally this uses IPPROTO_IP/IP_ADD_MEMBERSHIP option.
Lasterror is set.

See also

Blog Entries

Release notes

Created 19th October 2017, last changed 19th October 2017


Socket.AcceptNewConnection   -   Socket.AvailableBytes

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins

Start Chat