socket


  
      function open_socket()
      {
          this->socket = @fsockopen(this->url_segments['host'], this->url_segments['port'], &errno, &errstr, 5);
  
          if (this->socket === false)
          {
              this->trigger_error("errstr (<b>URL:</b> {this->url_segments['host']})");
          }
      }