code: def _send_resolve_request(self):
          "sends RESOLVE_PTR request (Tor custom)"
          host = self._addr.host.encode()
          self._data_to_send(
              struct.pack(
                  '!BBBBB{}sH'.format(len(host)),
                  5,                   # version
                  0xF0,                # command
                  0x00,                # reserved
                  0x03,                # DOMAINNAME
                  len(host),
                  host,
                  0,  # self._addr.port?
              )
          f _send_resolve_request(self):
          "sends RESOLVE_PTR request (Tor custom)"
          host = self._addr.host.encode()
          self._data_to_send(
              struct.pack(
                  '!BBBBB{}sH'.format(len(host)),
                  5,                   # version
                  0xF0,                # command
                  0x00,                # reserved
                  0x03,                # DOMAINNAME
                  len(host),
                  host,
                  0,  # self._addr.port?
              )
          )
docs: sends RESOLVE_PTR request (Tor custom)