public function resolve($tsdns)
    {
        $this->getTransport()->sendLine($tsdns);
        $repl = $this->getTransport()->readLine();
        $this->getTransport()->disconnect();

        if ($repl->section(":", 0)->toInt() == 404) {
            throw new Ts3Exception("unable to resolve TSDNS hostname (" . $tsdns . ")");
        }

        Signal::getInstance()->emit("tsdnsResolved", $tsdns, $repl);

        return $repl;
    }