Meet the Extensible Messaging and Presence Protocol (XMPP)

Explore Internet communication with XMPP architecture, applications, and examples

Return to article

Figure 3. Alternate text version of diagram of a sample (simplified) XMPP communication
Initiating clientServerReceiving client
<xml version='1.0'?> <stream:stream to-'discovery.nasa.guv' xmlns='jabber.client' xmlns:stream= "http://etherx.jabber.org/streams' version='1.0'> ------> 
 <------ <xml version='1.0'?> <stream:stream from-'discovery.nasa.guv' xmlns='jabber.client' xmlns:stream= "http://etherx.jabber.org/streams' version='1.0'>
 Negotiation 
<message from-'DaveBowman@discovery.nasa.guv/pod' to='Hal@discovery.nasa.guv' xml:lang-'en' <body>Hello, Hal. Do you read me, Hal?</body> <message> ------> 
 <------ <message from-'Hal@discovery.nasa.guv/pod' to='DaveBowman@discovery.nasa.guv' xml:lang-'en' <body>Affirmative, Dave. I read you, Dave?</body> <message>
</stream:stream> ------> 
 <------ </stream:stream>

Return to article