'Send a scrape reply.'

def send_scrape_reply(self, host, port, infohashes):

    response_msg = struct.pack('!ii', TRACKER_ACTION_SCRAPE, self.transaction_id)
    for infohash in infohashes:
        ih_info = self.tracker_session.tracker_info.get_info_about_infohash(infohash)
        response_msg += struct.pack('!iii', ih_info['seeders'], ih_info['downloaded'], ih_info['leechers'])
    self.transport.write(response_msg, (host, port))
