index 1cef298c7289818374fc2fec5eafa602c6662562..dda0f6ec200667dffc501507809ac265f34a9eba 100644 (file)
$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 with error: %s."),$this->host,$this->port,$this->errstr));
}else{
$this->b_data_send = TRUE;