Skip to content

serversidesquid/node-websocket-test

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple WebSocket example

A simple working example (for all modern browsers) and - yes, I'm looking at YOU, you… WebSocket blog article writers - without socket.io (for now at least), Express, JQuery and other black-box baggage…

Clone/download then from the command-line change directory to node-websocket-test, and install dependencies with npm install. Run by typing node server.js and visiting localhost:8080 in a browser.

After much hacking and failing, Phil fixed this so it actually works (thanks!). Here's the original WebSocket question on Stack Overflow which - as is sadly often the case these days - has had no answers. So I'll probably go and answer it myself at some point.

About

Just a proof of concept

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.4%
  • JavaScript 41.6%