def send_peer(self, recipient, message): if recipient != self.state.volatile['address']: self.peer_transport.sendto( msgpack.packb(message, use_bin_type=True), tuple(recipient))