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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

Socket.DropMembership

Removes this socket from a multicast group.

Component Version macOS Windows Linux Server iOS SDK
Socket 7.5 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Socket.DropMembership"; 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

Removes this socket from a multicast group.
Internally this uses IPPROTO_IP/IP_DROP_MEMBERSHIP option.
Lasterror is set.

See also

Release notes

Blog Entries

This function is free to use.

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


Socket.Connect - Socket.EnableKeepAlive

💬 Ask a question or report a problem