Back to Websocketd

README

examples/nodejs/README.md

0.4.1572 B
Original Source

Running the examples on Mac

1. Download

Install websocketd and add it to your PATH.

2. Start a server: getter

Run websocketd --port=8080 --devconsole node greeter.js and then go to http://localhost:8080 to interact with it

3. Start a server: counter

Run websocketd --port=8080 node count.js to start the server, then go to examples/html directory and double click count.html to open in a browser