Skip to main content

Abstract

WebSocket is a technology that provides bi-directional, full-duplex communications channels over a single Transmission Control Protocol (TCP) socket. It is designed to be implemented in web browsers and web servers, but it can be used by any client or server application. The WebSocket application programming interface (API) is being standardized by the W3C (http://dev.w3.org/html5/websockets/), and the WebSocket protocol is being standardized by the IETF (www.ietf.org/). Since ordinary TCP connections to ports other than 80 are frequently blocked by administrators outside of home environments, it can be used as a way to overcome these restrictions and provide similar functionality (with some additional protocol overhead) while multiplexing several WebSocket services over a single TCP port.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
eBook
USD 34.99
Price excludes VAT (USA)
Softcover Book
USD 44.99
Price excludes VAT (USA)

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

© 2011 Marco Casario, Peter Elst, Charles Brown, Nathalie Wormser, and Cyril Hanquez

About this chapter

Cite this chapter

Casario, M., Elst, P., Brown, C., Wormser, N., Hanquez, C. (2011). HTML5 WebSocket. In: HTML5 Solutions: Essential Techniques for HTML5 Developers. Apress. https://doi.org/10.1007/978-1-4302-3387-9_9

Download citation

Publish with us

Policies and ethics