[jdev] how to program a jabber game server

Michal 'vorner' Vaner michal.vaner at kdemail.net
Fri Feb 9 09:56:58 CST 2007


On Fri, Feb 09, 2007 at 01:49:56PM +0200, Norman Rasmussen wrote:
> 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.

IMO not allowed by RFC 3920 (section 9.1.2):
validate that the value of the 'from' attribute provided by the client
is that of a connected resource for the associated entity

It means either it can send only by its own resource or by some other
resource which is connected in that moment - so you would need another
connection anyway.

-- 
Hallowed be the zeroes and ones

Michal "vorner" Vaner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://www.jabber.org/jdev/attachments/20070209/d667e0c1/attachment-0002.pgp>


More information about the JDev mailing list