Socket.io v4 or websockets in 2023 - which should you use? - socket.io #1

Sdílet
Vložit
  • čas přidán 13. 06. 2023
  • Socket.io is built on top of websockets. If you use socket.io, you are using Websockets. If that's the case, why not just use websockets? Is there an advantage to using socket.io? Let me explain :)
    This video is part of a full course on Udemy. See below if you are interested! www.udemy.com/course/socketio...

Komentáře • 12

  • @bryankimartificio1879
    @bryankimartificio1879 Před 10 měsíci +1

    Thank you Robert

  • @someshsahu4638
    @someshsahu4638 Před 10 měsíci +1

    very nice explanation thank you so much sir 🙏🏼🙏🏼🙏🏼

  • @phule5966
    @phule5966 Před 4 měsíci +1

    thank you professor

  • @subashshrestha7954
    @subashshrestha7954 Před 7 měsíci +1

    Nice explanation

  • @alexleung842
    @alexleung842 Před 5 měsíci

    That packet buffering feature seems underrated. Like with plain websockets, will a reconnected client essentially just miss a bunch of messages?

    • @robertbunch-dev
      @robertbunch-dev  Před 5 měsíci

      I totally agree. The answer is sort of... :) It doesn't buffer by default so they'd be lost,, but you could implement a catch up yourself; keep things stored on the server and distribute, but you'd have to make it. That's the point of socket.io. Thanks for commenting!

  • @mohamed-tyb
    @mohamed-tyb Před 10 měsíci +2

    wow nice video ' i like your jokes hhh '