|
hace 5 años | |
---|---|---|
.. | ||
README.md | hace 5 años | |
echo_client.js | hace 5 años | |
echo_server.js | hace 5 años | |
publish_server.js | hace 5 años |
peerjs-on-node
Run the server
node echo_server.js
abcdefghijklmnopqrstuvwxyz
on the PeerJS signalling serverRun the client in a separate terminal window
node echo_client.js
abcdefghijklmnopqrstuvwxyz
You can now type in anything into the client terminal and the echo server script will simple echo it back