return an error if failed to send a GivePeersMessage