Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0.0Release packaged

From: Date: Fri, 09 Jun 2000 13:01:38 +0000
Subject: Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0.0Release packaged
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-16240@lists.php.net to get a copy of this message
On Thu, Jun 08, 2000 at 07:35:17PM -0200, Manuel Lemos wrote: > Precedence: bulk > > Hello thies, > > On 04-Jun-00 10:19:29, you wrote: > > >> Would it be all to make fd_sets script level variables instead of global > >> variables or are there other issues that you feel that need to be > >> addressed? > > > if somebody bring this code to a "working" state i would be more > > than happy with that,. back then i just felt i was a really > > bad idea to call a function select() that actually works like > > select() but would only work from global-variables. > > So you are saying that is not working at all or just it doesn't work right > because it uses global variables? to be honest - i didn't even try. but the design (using globals) was simply wrong. > > > > i'd like to see a more complete socket-API in php, but it > > should be well-thought. > > What else do you feel it is missing besides what it is in there already? i'm not the master of socket-api design, but i can spot a wrong approch... > > > >> BTW, does this code from Evan have anything to do with that code from Chris > >> that wrote a socket listen PHP extension to develop a PHP IRC server? > > > i've not seen that code, but i belive - no. look al the last > > Then you may want to look here: > > http://www.legion.f9.co.uk/php-ircd/php-ircd-0.4.2.tar.gz > > If Chris developed a IRC server in PHP with this, maybe he had developed > enough well to make it work consistently. I think it maybe a good idea to > invite Chris to work in the integration of socket select/listen code if > he has the time. this stuff is/was written for PHP 3. i like it though. > > > > > 100 lines in file.c and judge yourself. > > > I don't see the listen code in there. I just see select(). I don't think you > can write socket deamons with that. no, you cannot. (the stuff in PHP 4 is "fairly" incomplete) > > > >> > i'm sure it will reappear in good-shape one day. anybody > >> > wants to volonteer? > >> > >> I am too busy like everybody else, but once in a while I have some time > >> free. I can take on the job in my free time, if you can guide me through > >> the issues that you feel that are necessary to be address. > > > i think staying near to the unix socket-API would be a > > Yes, but making sure that at least it works compatibly under Windows. I > don't know enough Windows socket programming. Somebody with that skill > need to contribute or at least give some input. i did some winsock coding years ago:( > > > > GoodThing(tm). i'm sure evan could and would have done it, > > but he seemed to busy back then (i hope i didn't demotivate > > him) and obviously he did not need that support himself. > > Yes, he told me he is too busy, like everybody else. :-( > > > >> PHP is lagging in its abilities when compared with other languages like > >> Perl and Java because there is no way to make it act as backend server that > >> front end scripts may connect to do assyncronous processing. I feel that > >> is the way to go for it. > > > same here. (i'd like to have a full working gnutella node > > written in php!) > > Cool. Try Chris socket listen extension to see if it can be made to work > right the way it is. ...busy tc > > > Regards, > Manuel Lemos > > Web Programming Components using PHP Classes. > Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org > -- > E-mail: mlemos@acm.org > URL: http://www.mlemos.e-na.net/ > PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp > -- -- Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!" Digital Collections Phone +49 40 235350 Fax +49 40 23535180 Hammerbrookstr. 93 20097 Hamburg / Germany

« previous php.version4 (#16240) next »