Re: Re: new version of Net_IRC-0.0.4 (alpha)

From: Date: Thu, 02 Jan 2003 10:01:23 +0000
Subject: Re: Re: new version of Net_IRC-0.0.4 (alpha)
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-12010@lists.php.net to get a copy of this message
On Thu, 02 Jan 2003 10:51:47 +0100, Bertrand Mansion wrote > le 2/01/03 10:01, Katana à katana@katana-inc.com a écrit : > > > c> (therefore Net_IRC requires PHP 4.3.0 or newer) > > Isn't it a little too fast ? > > IMO, users are free to use former versions of Net_IRC if they don't > have 4.3 installed. I see no reasons why this could be a problem. The biggest need for stream_select is the multiserver code. Otherwise I have to foreach loop trying todo fgets on every server connection.(after setting it to non-blocking mode) That is absolutely horrible way todo it IMHO. (even in a single connection.. having fgets() act as blocking for a single line.. not cool at all). Before finding the completely undocumented stream_select function(and buging people in IRC about it -- it is getting documented soon), I was pondering moving all of Net_IRC to use the Sockets extension.(so I could use socket_select()) But by using fsockopen() and stream_select() in 4.3 I am able to get the functionality I need for sanity and not require a non-standard experimental extension, which I think is the lesser of two evils. I hope that clears up some of my logic in requiring PHP 4.3.0+ for Net_IRC -chip

« previous php.pear.dev (#12010) next »