--- a/includes/http.php Sun Jul 05 00:57:02 2009 -0400
+++ b/includes/http.php Sun Jul 05 00:57:53 2009 -0400
@@ -326,9 +326,9 @@
function _sock_open(&$connection)
{
// Open connection
- $connection = @fsockopen($this->host, $this->port);
+ $connection = fsockopen($this->host, $this->port, $errno, $errstr);
if ( !$connection )
- throw new Exception(__METHOD__ . ': Could not make connection');
+ throw new Exception(__METHOD__ . ": Could not make connection"); // to {$this->host}:{$this->port}: error $errno: $errstr");
// 1 = socket open
$this->state = 1;