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.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Rights 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
DOI: https://doi.org/10.1007/978-1-4302-4741-8_4
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4302-4740-1
Online ISBN: 978-1-4302-4741-8
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books