Re: Other socket stuff

From: Date: Thu, 27 May 1999 09:05:09 +0000
Subject: Re: Other socket stuff
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-6046@lists.php.net to get a copy of this message
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... :-) - Stig -- 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

« previous php.dev (#6046) next »