--- Alexander Barton alex@barton.de wrote:
Hi Stefan!
I got to looking around and discovered this little gem of a server. I
downloaded
it, compiled it (no problems what-so-ever) and installed it without a single hitch. I even went
in
and found the correct line in the defines.h file
to
modify the nick length quickly because the code is clean and self documenting. KUDOS.
Thanks :-)
No problem. I don't speak or read German, but your code is self-documenting and I can understand what's going on without bothering with the comments :)
It's my understanding that services work by
connecting
to the IRC servers they service as "just another
IRC
server." The servers don't know anything about
the
services server other than it's another IRC server
on
the network.
This is one possibility. And this one should/could already work with the ngIRCd.
I agree. I haven't found a service package to try this with as of yet. Hybserv2 acts as another server on the network as I described. Hybrid7 doesn't have support for the service related commands by default, and may not have them at all.
The alternative is that the service registers itself as "service" using the SERVICE command as defined by RFC 2812, section 3.1.6. This variant isn't implemented by the ngIRCd at the moment.
I've never actually seen a service implemented this way, although I do remember seeing this section in the RFC's while I was learning the protocol to write my own IRC bot. I just looked in to this and it looks like it wouldn't take too much to add this kind of functionality to ngIRCd. I looked at the client.c file, and I know another wrapper needs to be added to Client_New() called Client_NewRemoteService().
I'll dig deeper and see if I can't implement this. I'd rather find an IRC server that has this working already to test how the protocol is suppose to work, but *something* is better than *nothing* :) and I'm sure people will correct anything I do wrong if I get this working and submit the appropriate patches.
By the way, I compiled this on a Tru64 5.1b box as well without problems. Can't remember if it's in the list of reported "working" or not, but if it's not, now it can be added.
Thanks again, Stefan Johnson
__________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/