Socket.io v4 or websockets in 2023 - which should you use? - socket.io #1
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...
Thank you Robert
You are welcome, Bryan!
very nice explanation thank you so much sir 🙏🏼🙏🏼🙏🏼
Thank you for watching and the kind comment!
thank you professor
You're welcome! Thanks for watching!
Nice explanation
Thank you!
That packet buffering feature seems underrated. Like with plain websockets, will a reconnected client essentially just miss a bunch of messages?
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!
wow nice video ' i like your jokes hhh '
Haha. Glad you like them!