php/php-src — pull request #184 by igorw (2012-09-02 22:12:47+00:00)
Title: Bug #63000: MCAST_JOIN_GROUP on OSX is broken

Ticket: https://bugs.php.net/63000

The multicast support in PHP 5.4 makes use of MCAST_JOIN_GROUP if it is present.
The problem is that OSX 10.7 added the constant, but did not correctly implement
the feature. This causes the setsockopt call to fail.

The solution to the problem is to not use MCAST_JOIN_GROUP on OSX.

For reference, this was also done in VLC:

* http://trac.videolan.org/vlc/ticket/6104#comment:19