Skip to content
This repository was archived by the owner on Jun 3, 2020. It is now read-only.

Files

Latest commit

ea47303 · Jan 5, 2017

History

History
16 lines (11 loc) · 608 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 608 Bytes

WebSockets 101

A simple example of using WebSockets for communication.

You can learn about the basics of WebSockets by reading the Introducing WebSockets: Bringing Sockets to the Web article on HTML5Rocks.

WebSocket is a protocol providing full-duplex communications channels over a single TCP connection.

This example opens a WebSocket connection to an echo server (ws://echo/websocket.org), sends data to the server, and then displays the response on the web page.

Please report any bugs or feature requests.