PDA

View Full Version : OPERA MINI HANDLER UI like browser, http, socket server implementation



wambagilles
20th February 2011, 15:16
Hello, iam new in Qt, i want to write an opera mini handler ui like browser for PC , i am almost done, but now i want to implement http server and soccket sever, i don't know which class to use! i have seen the QNetworkAccessManager, but i don't know if it is the write class to use, since through it i can only set the proxy server, and a http server nor a socket server, please help.

Added after 10 minutes:

also what is FRONT QUERY, and how to implement it please!

high_flyer
21st February 2011, 11:12
but now i want to implement http server and soccket sever,
I'd say QTcpServer makes sense...
You might want to read about other classes here:
http://doc.qt.nokia.com/latest/qtnetwork.html

wambagilles
21st February 2011, 18:49
thanks very much for your reply, it seems to be the right class to use, i will look at it and report here! thanks!

wambagilles
19th March 2011, 16:49
hello, sorry for being late, iam through with the browser, but still got the same problem, don't know how to implement a qtcpserver with a qwebview, to fetch content through a htpp and socket server as opera mini handler ui does, please help, a piece of code will be also very helpfull, thanks!

high_flyer
21st March 2011, 09:36
don't know how to implement a qtcpserver with a qwebview, to fetch content through a htpp and socket server as opera mini handler ui does, please help,
With all due respect - I am not sure what you expect as an answer to the above statement.
You clearly say you don't know how to implement what you need, so what help can we offer you?
If you had a specific implementation problem that you could articulate, ok, but do you expect us to teach you what you don't know?

Have a look at the QTcpServer documentation, there should be few examples which are well explained, that should get you started on the right track.

wysota
21st March 2011, 10:17
In the Qt-Software forum there is my tool called network debugger that implements a socket server. You can have a look at its sourcecode.

wambagilles
21st March 2011, 14:29
thanks for your answer, i'll look at it again, then i will show you what i will have!