Socket.IO Google Maps Marker

I can't figure out how to have Socket.io move a marker in real time. It only moves it on one client.

google.maps.event.addListener(marker,"dragend",function(e){
          console.log('starting drag event');
          socket.emit('move marker');
      socket.on('move marker', function(moveMarker){
    marker.setPosition( new google.maps.LatLng( 0, 0 ) );
      })
    });