Re: [PHP-DEV] Patch - create socket by fd#

2011-05-18 Thread Florian Wilkemeyer
Am 18.05.2011 13:13, schrieb Gustavo Lopes: Em Wed, 18 May 2011 11:44:35 +0100, Florian Wilkemeyer escreveu: i recently wrote small function that allows the creation of a php-socket by directly giving the fd# this is very useful under linux/unix environments for Ipc. For example: getting

[PHP-DEV] Patch - create socket by fd#

2011-05-18 Thread Florian Wilkemeyer
Hi, i recently wrote small function that allows the creation of a php-socket by directly giving the fd# this is very useful under linux/unix environments for Ipc. For example: getting forked by a webserver as fastcgi / scgi .., the webserver gives an acceptable socket as fd#0 to the process..