When I upgraded HTTP stopped working, is there some know changes that need 
to be made?

In the code below I always catch an exception as a result of a 404.  If I 
type the url into a browser it works.

Db

  Screen->Cursor = crHourGlass;
  String c_dir = GetCurrentDir();
  String url = "http://www."; + cfg->host_name + "/check.php?user=" + 
cfg->user_name + "&pw=" + cfg->password;

  httpClient->URL        = url;
  httpClient->Proxy      = "";
  httpClient->ProxyPort  = "80";
  httpClient->RcvdStream = NULL;
  httpClient->ModifiedSince = 0;
  try
  {
    httpClient->Get();
  }
  catch (...)
  {
    Screen->Cursor = crDefault;
    return false;
  }

-- 
To unsubscribe or change your settings for TWSocket mailing list
please goto http://www.elists.org/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be

Reply via email to