Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

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