[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[JDEV] Large Jabber Messages




I was thinking about sending "Voice" messages in Jabber, which are Jabber
packets that contain a wave form to be played.  They could be quite large.
If it was large enough, and the clients connection was slow enough, other
messages would pile up behind it while it transferred.  This is a natural
consequence of having only one Socket.

The obvious solution is to use two sockets, one for "bulk" traffic over a
certain size, and another for small messages.  

Happily, there already seems to be a provision for such in Jabber.
Clients can log in multiple times as the same user but with different
"nicks".

It seems that what hasn't been discussed is some kind of attributes, or
perhaps "hints" for the server, along the lines of "forward messages of
size X or larger to this other nick instead".

Just a thought

Quetzalcoatl Bradley
qbradley@csc.uvic.ca