O'Reilly logo

Mastering Internet of Things by Peter Waher

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Understanding XMPP addresses

Typically, but not necessarily, brokers authenticate clients to accounts. Each account typically has an account name or username. When forming an XMPP address, this account name or username is called the local part. The XMPP address can have one to three parts. Apart from the local part, there is the domain part, which is simply the domain of the broker or a sub-domain. Finally, the address can also have a resource part. Since multiple connections can be made to the same account using the same account or username, the connections are distinguished by the use of a resource part, which is typically a random string, for security reasons. These three parts can be combined in different ways, to address different entities ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required