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

Поділитися
Вставка
  • Опубліковано 30 вер 2024
  • 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/...

КОМЕНТАРІ • 13

  • @allyn3015
    @allyn3015 2 місяці тому +1

    Great content.... enjoying your videos...love from india❤

  • @alexleung842
    @alexleung842 8 місяців тому +1

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

    • @goodmorningdevelopers
      @goodmorningdevelopers  8 місяців тому +1

      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!

  • @someshsahu4638
    @someshsahu4638 Рік тому +2

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

  • @mohamed-tyb
    @mohamed-tyb Рік тому +2

    wow nice video ' i like your jokes hhh '

  • @phule5966
    @phule5966 7 місяців тому +2

    thank you professor

  • @subashshrestha7954
    @subashshrestha7954 10 місяців тому +1

    Nice explanation

  • @bryankimartificio1879
    @bryankimartificio1879 Рік тому +1

    Thank you Robert