[jdev] how to program a jabber game server

Norman Rasmussen norman at rasmussen.co.za
Fri Feb 9 05:49:56 CST 2007


On 2/9/07, Richard Dobson <richard at dobson-i.net> wrote:
> How? How is the bot going to be able to create all of the extra
> resources required on all servers consistently without having to make
> multiple connections? Plus, how is that bot going to host multiple games
> at once? I cant see how it can.

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.

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)

-- 
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/



More information about the JDev mailing list