I'm trying to make an chat application that supports multiple instance of private conversation between two people. ( similar to facebook's messaging system )
I'm trying to use sockjs to do so, but I am having trouble creating a new instance of sockjs connection for every user - user combination.
Are there any tools that could help me with this?
I've tried multiplexing, but it seems to separate the channel instance, but still share the same connection. ( meaning, people on a different 'channel' are still able to receive my message )