https://github.com/flpvsk/websocket-example
https://github.com/flpvsk/websocket-example
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/flpvsk/websocket-example
- Owner: flpvsk
- Created: 2019-06-05T20:19:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T18:18:16.000Z (over 2 years ago)
- Last Synced: 2025-02-07T09:41:39.864Z (5 months ago)
- Language: JavaScript
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## WebSocket example
```bash
# Step 0
npm install# Step 1: Start the server
node server.js# Step 2: Open the browser on http://127.0.0.1:1111
# Start 3: Start one or more clients
node client.js clientName# Start 4: Send messages from the web to selected clients
```