I'm using Windows 2000 and Qt 4.3.3 version. I have a problem with QHttp code. It's

compiling without errors but doesn't execute properly. The code is just the QHttp

example given in Qt Assistant.

QHttp* http = new QHttp("www.trolltech.com",80);
QHttpRequestHeader header;
header.setValue("Host", "www.trolltech.com");

The request() is not giving QHttp::NoError means it is not suceeding. Please tell me

where should I modify the code so that request() function succeeds.