writeToBhuwan
writeToBhuwan

Reputation: 3281

Send messages to Client with C# using openfire server

Our firm is using message API's to send various alerts to our clients. As the charges are getting high for message API's we are planning to have WhatsApp sort of thing(An Android chat client) on our customer's phone and send messages to them through OpenFire server.

I am new to this. I searched over Internet and found jabber.net but the documentation didn't help me much to get started.

I found this on CodeProject but this is made to connect to GMail (though it is not even connecting to GMail). I tried changing the server to my PC's static IP but it didnt connect to it.

Please note that I am able to connect to OpenFire through Clients like jabiru(Android), Jabber(Android) and Spark(Windows Client) and chat with them. So no problem in server setting.

How should I start about with it.. How can I send messages to various clients on the basis of their username. Sorry for asking a foolish question but I am really stuck.

Upvotes: 1

Views: 6920

Answers (1)

Alex
Alex

Reputation: 4136

here you can find a list of XMPP libraries for c# .NET: http://xmpp.org/xmpp-software/libraries/

All libraries listed there come with documentation and example, also jabber-net. The examples show you how to login and send messages. They should work out of the box with your Openfire server.

Upvotes: 0

Related Questions