• Socket.io listen to a socket on the client

    abemassry        
    0 Likes0 Commentsjavascript

    var socket = io.connect('http://example.com');
    socket.on('list_update', function(data) {
      console.log("update client with: " + data);
    });

Comments (0)