index 1cef298c7289818374fc2fec5eafa602c6662562..4442e1c5017729efdbccdfd6513655a279c079e7 100644 (file)
$this->handle = @fsockopen($this->host, $this->port, $this->errno, $this->errstr, $this->timeout);
if(!$this->handle){
$this->handle = NULL;
$this->handle = @fsockopen($this->host, $this->port, $this->errno, $this->errstr, $this->timeout);
if(!$this->handle){
$this->handle = NULL;
- $this->set_error( $this->errstr);
+ $this->set_error(sprintf(_("Socket connection to host '%s:%s' failed: %s"),$this->host,$this->port,$this->errstr));
}else{
$this->b_data_send = TRUE;
}else{
$this->b_data_send = TRUE;