XMPP is the Extensible Messaging and Presence Protocol. It is used in a variety of technologies including instant messanging, WebRTC and in IoT devices. Here is a collection of captures to show the low level packets that clients and servers use to provide messaging and presence with XMPP.
Adium is a free instant messaging application for macOS that can connect to an XMPP server as well as a variety of others.
Had to modify this example a bit to make sure the message wasn’t coming from our Blather bot. Otherwise, once it echoed a message from a user it would keep echoing it’s own message back!
The ejabberd was used as the XMPP server in these captures. TLS was disabled to capture this network traffic so that we could show the packets without encryption but this should never be disabled in production!