Skip to content

broadcast doesn't work in namespace #291

@outsideris

Description

@outsideris
var namespace = io
  .of('/namespace')
  .on('connection', function(socket) {
    socket.on('message', function(data) {
      socket.broadcast.send(data);
    }); 
  });

message event is fired...
but it can't broadcast. and broadcast.emit too..

I use socket.io .0.7.2 and node. 0.4.8

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions