Hi, I need to integrate openfire with existing game servers. The game servers each have around 1000 players connected, and is written in C++. I want to use openfire to manage the list of player’s friends and allow for messaging between users on different game servers. The game clients will not be connecting to openfire directly. So I need the game server to connect, send, and receive xmpp messages to openfire on the behalf of each user.
My best idea so far is to have the game server open a seperate socket connection to openfire for each user. This seems a little wasteful to have 1000 socket connections between the same servers. So my question is, is there a better way? Is there a way to have many user sessions share one socket connection?