Add multicastJoin and multicastLeave to net module
net.multicastJoin(if_ip, multicast_ip) net.multicastLeave(if_ip, multicast_ip) if_ip is a string containing the interface ip to join/leave the multicast group. multicast_ip is the multicast ip of the group to join/leave. if_ip can be "" or "any" to affect all interfaces.
Please register or sign in to comment