Skip to main content

Building Instant Messaging and Chat over WebSocket with XMPP

  • Chapter
The Definitive Guide to HTML5 WebSocket

Abstract

Chat is a great example of an Internet application that has become more difficult to build in an HTTP-only world. Chat and instant messaging applications are inherently asynchronous: either party can send a message at will without requiring a specific request or response. These applications are excellent use cases for WebSocket as they benefit hugely from reduced latency. When chatting with your friends and colleagues, you want as little delay as possible in order to have natural conversations. After all, if there were lots of lag, it would hardly be instant messaging.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 49.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 64.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2013 Vanessa Wang, Frank Salim, Peter Moskovits

About this chapter

Cite this chapter

Wang, V., Salim, F., Moskovits, P. (2013). Building Instant Messaging and Chat over WebSocket with XMPP. In: The Definitive Guide to HTML5 WebSocket. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4302-4741-8_4

Download citation

Publish with us

Policies and ethics