Re: sockets extension

From: Date: Thu, 17 May 2001 17:27:17 +0000
Subject: Re: sockets extension
References: 1 2 3  Groups: php.dev 
Request: Send a blank email to php-dev+get-55652@lists.php.net to get a copy of this message
At 21:23 16.05.2001 +0100, Wez Furlong wrote:
I'm not sure that the sockets extension would benefit from php_streams as much as php_streams would benefit from the sockets extension, if you see what I mean. I would like to see it using php_streams, as that would result in PHP being much more flexible for the person coding in PHP; they needn't worry about the type of the file handle they pass to any function. To integrate php_streams properly, ext/sockets should converge with fsock.c and use the same underlying sockets implemented as php_streams (it's not too much work). I think it's a good idea to get it done.
i had a quick look at it, but i think it can't be done, due to the simple fact that under windows socket descriptors are not file descriptors like under unix. it could work under NT (file I/O is similiar to unix), but not under the 9.x family. (but maybe i'm missing somehing) daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de

« previous php.dev (#55652) next »