Re: Extension proposal: fdpass

From: Date: Wed, 27 Apr 2011 12:22:17 +0000
Subject: Re: Extension proposal: fdpass
References: 1 2 3  Groups: php.pecl.dev 
Request: Send a blank email to pecl-dev+get-8189@lists.php.net to get a copy of this message
2011/4/27 Johannes Schlüter <johannes@schlueters.de> > On Wed, 2011-04-27 at 13:13 +0200, Florian Wilkemeyer wrote: > > Hi Jille, > > > > i had the same requirements and i wrote a simple function and added it > > to the php sockets extension; > > to be able to create a 'php-socket' from a FD number (in my case my > > script gets forked from a webserver - which gives a acceptable pipe as > > fd#0 to the proc..) > > so it was possible to use the whole functionallity from php's socket > > extension.. > > Might be a good idea. then one can figure out what the best approach for > this is, maybe it's worth adding the functionality to the core ... > > > If there's any interest i would provide the patch here, > > but its linux/unix based OS only.. no win32 :) > > We don't limit PHP (especially PECL) to what's possible on a platform, > we try to unify were possible, while enabling system-specific things, > too :-) > > johannes > > > -- > PECL development discussion Mailing List (http://pecl.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > it's a little bit different topic, but I would like a way to manually handles fds. like fdopen proposed here: http://marc.info/?l=php-internals&m=126867704019169 I think we should add this functionality together with fdpass. at least it would be logical. Tyrael

« previous php.pecl.dev (#8189) next »