I am trying to connect via c# and via javascript to an xmpp server (currently ejabberd). Im having a little trouble conceptualizing how the connections will exists.
Backstory: I have a game engine that will take input from the user and send some kind of response back to them. The user may be a windows app, a web app, all needing to connect pretty much the same way. The game engine is a c# application that handles the input accordingly. Is my game engine a user on the xmpp server just like everyone else? How does he talk to the others and vica verca. A detailed tutorial on how this kind of thing is done using xmpp is greatly appreciated if possible.
Are there c# libraries to handle the xmpp connection in the way I specified above? Would the javascript also be hitting the xmpp server in the same way?