socket.io helps us to work on websockets via a library.
- emit(): This Event(Data)
- on(): This Event(Data) //listener
- broadcast(): To everyone apart from sender
- to(): to trigger event for particular room
- join(): To join people
- to().emit(): To send to particular room.