## Normal client-server connection :
In socket.io we pass at the header (ws) websocket update our connection .
io.on('connection',(socket)=>{
socket.on('user-message',(message)=>{
io.emit('message',message);
})
})
- clone this project.
- npm install
- npm start -It will start at localhost3000