In the CVS HEAD version is multiple server support added, but I couldn't test it yet... maybe some of you can do it for me?
just get the current CVS version, then create for each server a instance of Net_SmartIRC and do the usual settings and connect(), but _dont_ call listen()!
Do instead after all instances are made a while(true) { $irc->listenOnce(); $irc2->listenOnce(); $irc3->listenOnce(); }
the listenOnce() doesnt loop, it only does one read and processing. so this while(true) loop does this job, but for all IRC connections ;) have fun and tell me the results...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
In the CVS HEAD version is multiple server support added, but I couldn't test it yet... maybe some of you can do it for me?
just get the current CVS version, then create for each server a instance of Net_SmartIRC and do the usual settings and connect(), but _dont_ call listen()!
Do instead after all instances are made a while(true) { $irc->listenOnce(); $irc2->listenOnce(); $irc3->listenOnce(); }
the listenOnce() doesnt loop, it only does one read and processing. so this while(true) loop does this job, but for all IRC connections ;) have fun and tell me the results...
Very Interesting :) I will give it a go..