Skip to main content
  • 1768 Accesses

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

eBook
USD 16.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 44.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

© 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