[JDEV] IRC?

Kerem 'Waster_' HADIMLI waster at iname.com
Tue Dec 21 13:14:10 CST 1999


Thomas Charron wrote:
>   I want to setup the transport URIs in this way:
> 
> irc:server at irc.jabber.org/Channel
> 
>   Or heck:
> 
> irc:server at irc.jabber.org/UserName
> 
>   Actually, looking at it, I like this better:
> 
> irc:channel at irc.jabber.org/Server
> 
>   And
> 
> irc:user at irc.jabber.org/Server
> 

These can be all the same, because we're talking about IRC protocol. In IRC,
server-names, nicknames, channelnames are all in the same list, and neever
conflict. I mean, the server never allows them to conflict. For example, you
cannot login to an IRC server with a nickname that looks like a server-host (
'waster.test' ), nor a channel name ( '#channel' or '&channel' ). So, I think
this will be the best way:

irc:irc.server.com at irc.jabber.org/nickname
irc:irc.server.com at irc.jabber.org/irc.server.de
irc:irc.server.com at irc.jabber.org/#jabber

But the problem is that, in jabber, we don't have clients support a 'to' attr
in incoming messages (server doesn't/can't send it actually). But in IRC, that
is defined, so when user 'MyIRCNick' sends a message to #channel, the server
sends that message to all clients connected, with from='MyIRCNick' and
to='#channel', but the name of the receiving user isn't shown (speaking 'bout
IRC protocol).

thanks,
Kerem 'Waster_' HADIMLI
-- 
If it happens once, it's a bug.
If it happens twice, it's a feature.
If it happens more than twice, it's a design philosophy.




More information about the JDev mailing list