/**
  * 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;
 }
 /**
  * Creates a single socket for the Wizard to test
  */
 protected function createSocketDefinition($hostname, $port)
 {
     $socket = parent::createSocketDefinition($hostname, $port);
     $socket['smtp'] = true;
     return $socket;
 }