Re: Net_IRC class
| From: | Kjartan Mannes | Date: | Wed, 17 Apr 2002 07:29:36 +0000 |
| Subject: | Re: Net_IRC class | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-5592@lists.php.net to get a copy of this message | ||
Wednesday, April 17, 2002, 4:00:36 AM, Tomas V.V.Cox wrote:
> I'm first familiarizing with the protocol, reviewing some code and
> well have already a basic client. I have still too many things to
> think on. I'll come with my ideas/preview in the next days.
Welcome to the world of IRC protocols then. Rule #1, don't trust the
RFCs. They are hopelessly out of date. Every major network (dalnet,
efnet, ircnet, undernet) have their own modifications and most smaller
networks use modified servers from the big 4. Some networks have built
their own ircds from scratch and have changes as well.
Normally developing a client valid to RFC 1459 (i think) will be able to
connect to all networks as they try and maintain some compatibility, but
its not always true in my experience.
The other RFCs on IRC are specific for ircnet afaik, but they do look
like they are general for all nets.
Personally I think I will stick with my eggdrop bot with a few TCL
scripts on the IRC side and PHP for the web site. They share the same
SQL database so its powerful enough right now.
Btw, I remember a discussion on the PHP-GTK list about how PHP does not
free memory when a variable is unset. So having an array of 10000
elements would be in memory until PHP exists. I think they found a work
around for this though. Would be nice if their "hack" was polished and
made default in PHP cli. Haven't followed up on it so I don't know if
that has happened or not.
http://marc.theaimsgroup.com/?l=php-gtk-general&m=101592146028871&w=2
--
Kjartan <kjartan@zind.net> (http://natrak.net/)
:: "Evil exists to glorify the good. Evil is negative good. It
is a relative term. Evil can be transmuted into good. What
is evil to one at one time, becomes good at another time to
somebody else." - Sivananda