Req #40510 [ReO]: Add multicast support in sockets.c
| From: | cataphract@php.net | Date: | Fri, 10 Jun 2011 20:58:28 +0000 |
| Subject: | Req #40510 [ReO]: Add multicast support in sockets.c | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-161289@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=40510&edit=1
ID: 40510
Updated by: cataphract@php.net
Reported by: lew dot payne at gmail dot com
Summary: Add multicast support in sockets.c
Status: Re-Opened
Type: Feature/Change Request
Package: Sockets related
Operating System: FreeBSD 6.2-REL
PHP Version: 5.2.1
Assigned To: cataphract
Block user comment: N
Private report: N
New Comment:
Please test: http://nebm.ist.utl.pt/~glopes/misc/bug40510-reloaded.diff
Previous Comments:
------------------------------------------------------------------------
[2011-06-06 00:23:12] lstrojny@php.net
This patch seems to break compilation on Mac OS X (r311824):
/bin/sh /usr/src/PHP_5_4/libtool --silent --preserve-dup-deps --mode=compile cc
-Iext/sockets/ -I/usr/src/PHP_5_4/ext/sockets/ -DPHP_ATOM_INC -
I/usr/src/PHP_5_4/include -I/usr/src/PHP_5_4/main -I/usr/src/PHP_5_4 -
I/usr/src/PHP_5_4/ext/date/lib -I/usr/src/PHP_5_4/ext/ereg/regex -
I/usr/include/libxml2 -I/usr/src/PHP_5_4/ext/mbstring/oniguruma -
I/usr/src/PHP_5_4/ext/mbstring/libmbfl -
I/usr/src/PHP_5_4/ext/mbstring/libmbfl/mbfl -
I/usr/src/PHP_5_4/ext/sqlite3/libsqlite -I/usr/src/PHP_5_4/TSRM -
I/usr/src/PHP_5_4/Zend -no-cpp-precomp -I/usr/include -g -O2 -
fvisibility=hidden -c /usr/src/PHP_5_4/ext/sockets/sockets.c -o
ext/sockets/sockets.lo
/usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzm_startup_socketsâ:
/usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: âIP_BLOCK_SOURCEâ undeclared
(first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: (Each undeclared identifier
is reported only once
/usr/src/PHP_5_4/ext/sockets/sockets.c:820: error: for each function it appears
in.)
/usr/src/PHP_5_4/ext/sockets/sockets.c:821: error: âIP_UNBLOCK_SOURCEâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:822: error: âIP_ADD_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:823: error: âIP_DROP_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzif_socket_connectâ:
/usr/src/PHP_5_4/ext/sockets/sockets.c:1552: warning: cast from pointer to
integer of different size
/usr/src/PHP_5_4/ext/sockets/sockets.c: In function âphp_do_mcast_optâ:
/usr/src/PHP_5_4/ext/sockets/sockets.c:2068: error: âIP_BLOCK_SOURCEâ undeclared
(first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2071: error: âIP_UNBLOCK_SOURCEâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2074: error: âIP_ADD_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2077: error: âIP_DROP_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c: In function âzif_socket_set_optionâ:
/usr/src/PHP_5_4/ext/sockets/sockets.c:2158: error: âIP_BLOCK_SOURCEâ undeclared
(first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2159: error: âIP_UNBLOCK_SOURCEâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2160: error: âIP_ADD_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
/usr/src/PHP_5_4/ext/sockets/sockets.c:2161: error: âIP_DROP_SOURCE_MEMBERSHIPâ
undeclared (first use in this function)
make: *** [ext/sockets/sockets.lo] Error 1
------------------------------------------------------------------------
[2011-04-06 12:08:38] cataphract@php.net
Closing. Trunk only.
------------------------------------------------------------------------
[2011-03-14 15:54:52] cataphract@php.net
Changed package, re-assigned and more accurately classified as suspended.
------------------------------------------------------------------------
[2011-03-14 01:12:21] cataphract@php.net
Implemented for trunk; to be considered to 5.3 after 5.3.6 release.
------------------------------------------------------------------------
[2011-03-14 01:08:31] cataphract@php.net
Automatic comment from SVN on behalf of cataphract
Revision: http://svn.php.net/viewvc/?view=revision&revision=309198
Log: - Added multicast support to the sockets extension (bug #40510).
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/bug.php?id=40510
--
Edit this bug report at http://bugs.php.net/bug.php?id=40510&edit=1