3.1 How to Write an Echo WebSocket Server in Node.js – Fun with WebSockets!



3.1 How to Write an Echo WebSocket Server in Node.js – Fun with WebSockets!

3.1 How to Write an Echo WebSocket Server in Node.js - Fun with WebSockets!

In this video, I explain how to create a WebSocket server in Node.js that performs an echo function, i.e. returns to the client whichever message it received. I also explain how to test if the server works using a simple Chrome extension.

This video is part of the series “Fun with WebSockets! 🌐🔌”, taught by @garciadelcastillo on @ParametricCamp.
📝Course playlist: https://www.youtube.com/playlist?list=PLx3k0RGeXZ_wZ_gYpYXfH6FTK7e0cDL0k

Remember to subscribe and turn notifications on to receive alerts for new streams and content! 😄

💻Code: https://github.com/ParametricCamp/TutorialFiles/tree/master/Misc/WebSockets
🔗 Websocket Echo Server on Glitch.com: https://glitch.com/edit/#!/simple-websocket-server-echo
🔗 p5.js Sketch: https://editor.p5js.org/garciadelcastillo/sketches/mNWIaLhMQ
🔗 p5.js Sketch on Glitch.com: https://glitch.com/edit/#!/sync-chasing-ball

Follow:
📺https://youtube.com/ParametricCamp
📷https://instagram.com/ParametricCamp
🐦https://twitter.com/ParametricCamp
💻https://github.com/ParametricCamp
📷🕺https://instagram.com/garciadelcastillo
🐦🕺https://twitter.com/garciadelcasti
📼✂️🕺Video editing: https://www.instagram.com/kh.arastoo/

Comments are closed.