Posts

Showing posts with the label smack

Ejabberd Client Guide

In this post, we are going to look at a quick guide to build a client for Ejabberd Server. I have used Smack API . Other available APIs can be found here . Here you have links for web based, python, c++ etc client etc. Please note this post just gives you pointers to move ahead in your development. Before we start with the example, let us first understand what XMPP protocol is. XMPP stands for e X tended M essaging and P resence P rotocol. It is a open standard, decentralized, secure extensible, flexible and diverse protocol for messaging and presence. XMPP Message looks like this: <message to= 'romeo@example.net' from= 'juliet@example.com/balcony' type= 'chat' xml:lang= 'en' > <body> Wherefore art thou, Romeo? </body> </message> It is based on XML. It enables near real time exchange of structured yet extensible data between any two or more network entities. Originally named Jabber, it was ...