47:4912.3: Connecting Client to Server with Socket.io - WebSockets and p5.js Tutorial
From the creator
In this video, I look at how to add socket.io to both the node server and the client JavaScript. Code: https://thecodingtrain.com/tracks/web-sockets-and-p5js/websockets-node-p5/3-connecting-client-to-server 🎥 Previous: https://youtu.be/2hhEOGXcCvg?list=PLRqwX-V7Uu6b36TzJidYfIYwTFEq3K5qH 🎥 Next: https://youtu.be/i6eP1Lw4gZk?list=PLRqwX-V7Uu6b36TzJidYfIYwTFEq3K5qH 🎥 All: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6b36TzJidYfIYwTFEq3K5qH References: 🔌 Socket.io: https://socket.io/ Timestamps: 0:00 What we have done so far! 0:20 Installing Socket.io 1:14 Creating socket connections! 4:36 Referencing the socket library in the client code 7:25 Tracking every new socket connection to our web server 8:36 A recap and outlining the next steps before we go! Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: https://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://thecodingtrain.com/discord 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ Twitter: https://twitter.com/thecodingtrain 📸 Instagram: https://www.instagram.com/the.coding.train/ 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH 🎥 https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🔗 p5.js: https://p5js.org
Published 2016-04-13 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





