I am trying to send an event to socket inside the socket for example

```
io.on('connection', function (socket) {
  socket.emit("connected", {msg: 1});

  socket.on('funcb', function (data) {
    console.log('funca sent following data');
    console.log(data); 
  });

  socket.on('funca', function (data) {
    console.log(data);
    socket.emit('funcb', data);
  });

});

```

funca is called from client/browser and it try to call the funcb but func b not working any ideas?