The XMPP network can be thought of as a bidirected graph with servers (S) operating in a mesh, clients (C) clustered about their local server, and streams represented by extraverted edges:
When a client wants to send data (eg. a message or presence information) across the network to another clien...