send data from server to client