EUG:Introduction to XMPP
Introduction to XMPP
XMPP stands for eXtensible Messaging and Presence Protocol. It is an open XML based network protocol standard for instant messaging and presence notification. The XMPP protocol is used by many applications under which Google Talk.
When two users want to talk to each other the protocol takes the following form:
Suppose firstname.lastname@example.org wants to chat with email@example.com. Juliet and Romeo, respectively, have an account on the servers capulet.com and montague.net. If Juliet wants to send a message to Romeo the following occurs:
- Juliet XMPP client sends the message to the XMPP server capulet.com.
- If montague.net is blocked on capulet.com, then the message is discarded.
- The capulet.com XMPP server opens a connection to the XMPP server montague.net.
- The montague.net server sends the message to Romeo's XMPP client.
- If capulet.com is blocked on montague.net, then the message is removed.
- If Romeo is not connected, then the message is stored until Romeo comes back online. (Assuming that the server allows offline messages.)
- Romeo receives the message.
- standardized *; The XMPP specifications are publicly available. The IETF has also formally adopted the basic protocols as instant messaging and presence technology and published as RFC3920 and RFC3921.
- proven *; The specification of XMPP since 1998 more and more stabilized. Meanwhile, hundreds of developers working with XMPP servers and tens of thousands of millions of users use it.
- expandable The protocol uses XML namespaces. This way everyone can extend the protocol without disturbing existing applications.
- decentralized *;A large number of servers woven together into one large network. This is no focal weakness in the network and there is great stability. Everyone is free to choose whether or not its own server to boot and thus part of the global network. safe Robust security with SASL and TLS are supported. Access to other protocols A transport or gateway allows users of XMPP access networks that speak another protocol, such as ICQ and MSN Messenger but also SMS or e-mail or other. Unlike multi-protocol XMPP provides clients access to these other protocols at the server level instead of at the client level. This allows each client that fully supports the basic specifications transports through connecting with other networks.