protected function createPing()
    {
        if (!isset($this->host)) {
            throw new \InvalidArgumentException(
                'Missing hostname, unable to conduct a ping request.'
            );
        }

        return new Ping($this->host, $this->ttl, $this->timeout);
    }