i'm reposting this patch which adds the stream_socket_pair function,
I've posted it one month ago, made some requested modifications but it
seems nobody commited it so if you still want it it's here :
http://si.kz/~six/stream_socket_pair.diff
vincent
--
PHP Internals - PHP Runt
hi,
socket type checking removed :
http://si.kz/~six/stream_socket_pair.notypecheck.diff
Vincent
Wez Furlong wrote:
I wouldn't bother checking against known types; let sockpair() handle that.
It is possible that someone might want/need to use some other value
which we haven't thought
her stream goodies, but when it comes to
IPC i have to use both stream_select() and socket_select(), which is
quite disturbing and also requires the sockets extensions for something
that's not really sockets anyway ...
the patch is here : http://si.kz/~six/stream_socket_create_pair_patch.tgz
i