Node.js Socket.io Namespaces, Rooms and Connections 02

preview_player
Показать описание
Written Tutorial:

--- Official Links----

---Support US---
Рекомендации по теме
Комментарии
Автор

the only tutorial on youtube, regarding namespaces, Thanks bro

hamzarasool
Автор

some people just can't differentiate between a good stuff and not so good stuff. I just can't understand why there are 21 dislikes.

This is the best thing on socket io I have found till date

Bargainsxx
Автор

I was searching for this tutorial in my whole life.... just awesome

kiranbhujbal
Автор

Thanks so much. I know you mention the socket.io docs are easy and straightforward but I could not get their namespace example functioning. You straightened me out, thanks!

chadconway
Автор

Still very relevant after two years, Thanks alot 👍🏼

afolabiadegorite
Автор

While socketIo has a documentation. The part about rooms and namespaces is a bit unclear. Thank you for clarifying the rooms and namespaces concept.

DaggieBlanqx
Автор

Thank you for this video man. You saved us a lot of time studying socket io

argieabedejos
Автор

you can use npm install nodemon --save and nodemon server.js in your package.json and ==> npm run start which means you do not need to restart server everytime you make changes! And great video!!Simple and usefull!!

sakinemazlomyar
Автор

That's what I like👍👍👍

Feat Bruno Mars🤣

Thanks for easy explanation

kapilchauhan
Автор

Dude, job! It's really helping me out with a little project of mine. Thanks for deliver this for free <3

legendguitargamer
Автор

Quick shout out to the Rocket League homies out there. What a save!

EricSartor
Автор

Thank you sooo much for this amazing tutorial. Just a small question: what's the use of 'express' and the variable 'app' here?

kevinkinsey
Автор

On 8:24 you can use            
io.of('/games').emit(data)

As well

phokgedimaja
Автор

i have a problem in namespacing, i have first set up the global io and then i set another namespace, making it const pm=io.of('/pm'). however, when i'm using pm.on('connection'), the global connection also get trigered, is there something wrong?

handywijaya
Автор

Thanks brother you explained it in quite easy way

humayunakhtar
Автор

you use the same apps and technology like me - subbed.

anthonytonev
Автор

Thank u brother for this tutorial, really help me

nowoadisuryo
Автор

Could you use socket io connect and send to external websocket server ??
ex. client <---> server A <----> server B

ลิอิ้ววววว
Автор

great tutorial. btw nodemon can refresh your server automatically without having to constantly reboot from your terminal.

BraziliansDid
Автор

Thanks for the video! I've got a question: When checking if the room exist in the JoinRoom part you put a return before emiting the success or error... for me works fine without that return... is there a reason for you to added it?

juanvidal