XMPP Instant Messaging

Source: Internet
Author: User

XMPP:XMPP is an XML-based point-to-point communication protocol, the extensible Messaging and Presence Protocol (extensible Communication and Presentation Protocol).

XMPP can be used for service class real-time communication, representation and XML data element churn in the demand response service. XMPP is based on the Jabber protocol, while Jabber is an open protocol commonly used in instant messaging.

Basic structure.

XML is a typical C/s architecture, not like most instant messaging software, using peer-to-client architecture, which means that in most cases, when two clients are communicating, their messages are delivered through the server. With this architecture, the main purpose is to simplify the client and put most of the work on the server side.

Three roles, clients, servers, and gateways are defined in XMPP. Communication can occur bidirectional between any two of these three.

The server also assumes the client information record, connection management and information routing function. The gateway undertakes the interconnection with the heterogeneous instant communication system, and the heterogeneous system can include SMS (SMS), MSN,ICQ and so on.

The basic network form is that a single client connects to a single server over TCP/IP and then transmits the XML stream on top.

Demo Download: http://download.csdn.net/detail/shaoting19910730/9178475

XMPP Instant Messaging

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.