|
5 vuotta sitten | |
---|---|---|
.. | ||
README.md | 5 vuotta sitten | |
echo_client.js | 5 vuotta sitten | |
echo_server.js | 5 vuotta sitten | |
publish_server.js | 5 vuotta sitten |
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