Shortest example of WebSocket

@HIROSE Yuuji HIROSE Yuuji authored on 25 Oct
otp Typo 3 months ago
.gitignore Ignore files updated 3 months ago
.hgignore Ignore files updated 3 months ago
README.md The number of browser window can be more than 2 7 months ago
ews.html Replaced to new example 7 months ago
ews.js Replaced to new example 7 months ago
ews.rb Add:how to run 7 months ago
screen.jpg Add:how to run 7 months ago
README.md

WebSocketSample

Shortest example of WebSocket

How to run

  1. Start ews.rb by "./ews.rb"
  2. Start browser and create 2 or more windows (C-n)
  3. Browser-1: Open-File -> ews.html
  4. Browser-2: Open-File -> ews.html
  5. Write comment in a form and PUSH!