Not logged in. · Lost password · Register
Forum: MatriX RSS
Redth #1
Member since Aug 2011 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Multiple Accounts Sharing a Single Connection?

Is it possible for one single socket connection to a jabber server (in this case google talk) to be used for multiple authenticated accounts?  The reason why I ask is I'm trying to develop a server side application that listens for new messages on behalf of a mobile client, which can then relay push notifications onto it.  For things such as Gmail IMAP i've had to create a single connection to the server for each client.  While I've made this scale well using async sockets, I'm not sure how Matrix is built under the hood, and in any case multiple connections would be nice to avoid!

Alex #2
Member since Feb 2003 · 4433 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
This is not possible. Each connection needs it's own socket in XMPP. This is not a restriction of MatriX. Like in IMAP this is a security feature of the protocol.

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: MatriX RSS