PDA

View Full Version : http connectionId



yagabey
20th December 2008, 19:56
Hello friends,

I am trying to make an http connection, there is a situation which i couldn't understand:


http.setHost(url.host());
connectionId = http.get(url.path());


requestFinished(int, bool)

the value of connectionId returns "2", but the value of the "int" from requestFinished signal is "1". I cannot get the web page, shouldn't theese two values be equal? Is that the reason of the connection problem? And what is the problem :confused:

yagabey
20th December 2008, 20:13
Ok,
they don't need be equal..

Ive solved the connection problem by closing the Qt Creator and openning it again..:confused: