def _resolve_one(self, ip):
        self.s.send(b"".join([ip.encode('ascii')])+b"\n")
        x = b""
        while not (b"%" in x or b"source" in x):
            x += self.s.recv(8192)
        asn, desc = self._parse_whois(x)
        return ip,asn,desc
dataset/ETHPy150Open phaethon/scapy/scapy/as_resolvers.py/AS_resolver._resolve_one/original