/** * Given a hostname, what ports should we test? * * May return an array of several combinations. */ public function getSocketsForSetupWizardToProbe($hostname, $smtpServerGuess) { $hosts = array(); if ($smtpServerGuess == null || PostmanUtils::isGoogle($smtpServerGuess)) { array_push($hosts, parent::createSocketDefinition($this->getHostname(), $this->getPort())); } return $hosts; }