emit command back to server.