Re: [PHP4BETA] Re: [PHP-DEV] PHP 4.0.0Release packaged
[email protected] ("Manuel Lemos") 8 Jun 2000 19:35:17 -0200
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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? > 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? >> 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. > 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. >> > 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. > 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. Regards, Manuel Lemos Web Programming Components using PHP Classes. Look at: http://phpclasses.UpperDesign.com/[email protected] -- E-mail: [email protected] URL: http://www.mlemos.e-na.net/ PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp --