[jdev] how to program a jabber game server
Richard Dobson
richard at dobson-i.net
Fri Feb 9 06:55:06 CST 2007
> Some servers allow you to send messages 'from' any resource (as long
> as the bare jid matches your authenticated jid). This seems to be
> very implementation specific though.
I see, I thought that would be the case (as Mridul says it sounds like a
bug more than a feature), if its not something that's widely supported
then its not really that useful. Personally I think its far better as
Ralph too indicates to use MUC as it is, rather than trying to do this
kind of hack of trying to host a MUC room over a client connection.
> You would need to create one connection per room though, where as a
> component would used a single connection for the entire domain. (but
> it sounds like you'd like to load components dynamically (which
> servers like jabberd2 support, btw)
Its not just a matter of one connection per room though is it, you would
have to have extra usernames to use for those additional connections for
it to mimic MUC. Yes I know external components just need a single
connection, but the whole point here is that games need to be hostable
by clients when the appropriate game servers/components are not
available for use.
Richard
More information about the JDev
mailing list