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.
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
© 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
DOI: https://doi.org/10.1007/978-1-4302-3387-9_9
Publisher Name: Apress
Print ISBN: 978-1-4302-3386-2
Online ISBN: 978-1-4302-3387-9
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)