Re: Other socket stuff
| From: | Sascha Schumann | Date: | Thu, 27 May 1999 11:41:43 +0000 |
| Subject: | Re: Other socket stuff | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-6049@lists.php.net to get a copy of this message | ||
On Thu, May 27, 1999 at 11:05:09AM +0200, Stig Bakken wrote:
> On Wed, 26 May 1999, Sascha Schumann wrote:
>
> > Well, that would make things much more complicated. We basically would
> > need to open up the whole POSIX magic box and provide a nice and clean
> > interface to it (as far that is possible at all) from the PHP user
> > level.
> >
> > So, initially, we have two options (complementary)
> >
> > (a) provide all the socket stuff to the end user (this could be extended
> > later to the whole POSIX API)
>
> > (b) extend fsockopen to allow setting a timeout
> >
> > The later one could be done in reasonable time (in fact, I have code for
> > connect_nonb C function here).
> >
> > The former one is even more appealing to me. Once we would have a
> > complete POSIX module (thinking of Perl here), the end-user could do
> > almost everything as he could do with regular C code (function-wise,
> > speed is another issue).
>
> IMHO we should focus on (b) first, and implement (a) in PHP4. But if
> someone is twisted enough to want to use select() in PHP3, by all means...
> :-)
b is already in :-)
--
Regards,
Sascha Schumann
Consultant
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net