reading-notes

Class Twelve Notes (401)

Socket.io

Web Sockets1

Socket Tutorial2

Socket.io vs Web Sockets

OSI3 and TCP4 Models Explained

  1. application layer: broswer, example include file transfer, web surfing, emails, and virtual terminals
  2. Presentation layer: data received from application to presentation. The two layers communicate using binaryr with translation and data compression, then encryption/decryption
  3. The following layer is session layer that provides APIs, which performs authentication/authorizations, and this layer keeps track of what data packets are being transferred (session management)
  4. Transport layer: data is segmented into smaller chunks of data. This layer performs flow and error control. This layer provides two services including connectionon-oriented transmission and connecionless transmission, floowing TCP and UDP.
  5. Network layer which transfers data packets between computers in different networks, it identifies which data to send to whom using their unique IP addresses
  6. Data Link Layer: using MAC address to identify the machine, it’s the physical link between the two computers
  7. Physical Layer

Back to main page

References

  1. https://en.wikipedia.org/wiki/WebSocket 

  2. https://www.tutorialspoint.com/socket.io/ 

  3. https://www.youtube.com/watch?v=vv4y_uOneC0 

  4. https://www.youtube.com/watch?v=xMtP5ZB3wSk