Reading Notes for Day 12 of 401:
Web Sockets
- What is a Web Socket?
- Describe the Web Socket request/response handshake and what happens once the connection is established.
- Web Sockets provide a standardized way for the server to send content to a client without first receiving a request from that client.
Socket.io Tutorial
- What does the event handler io.on() do?
- Describe some possible proof of life or proof that the code works as expected
- What does socket.emit() do?
Socket.io vs Web Sockets
- What is the difference between WebSocket and Socket.IO? (think Git and GitHub, or OAuth and Auth0).
- When would you use Socket.IO?
- When would you use WebSockets?
Videos
OSI Model Explained
- What are a couple of key takeaways from this video?
Things I want to know more about:
back to Table of Contents