Bind WebKit to another interface
-
See "here":http://doc.qt.nokia.com/4.7-snapshot/network-fortuneclient.html example how receive data from QTcpSocket
See "here":http://www.qtcentre.org/threads/30737-Binding-QTcpSocket-to-a-specific-network-interface example how bind interface
And see "here":http://doc.qt.nokia.com/latest/qwebview.html#setContent declaration of setContent method. -
[quote author="Vass" date="1293060293"]See "here":http://doc.qt.nokia.com/4.7-snapshot/network-fortuneclient.html example how receive data from QTcpSocket
See "here":http://www.qtcentre.org/threads/30737-Binding-QTcpSocket-to-a-specific-network-interface example how bind interface
And see "here":http://doc.qt.nokia.com/latest/qwebview.html#setContent declaration of setContent method. [/quote]My friend, this is not good, becouse only first page loaded by ip!, when i setContent or setHtml, another pages download by default IP (((
I need overload function in QWebView.
can you help ?
-
- i set 188.143.236.68
- 188.143.236.188 - default ip - then is http://foothold.ru - its I )
look log for foothold.ru access :
------------ load by you method :
- 188.143.236.68 - - [23/Dec/2010:13:28:57 +0300] "GET / HTTP/1.1" 200 6326 "-" "My User Agent 0"
------------ after set content or set html : - 188.143.236.188 - - [23/Dec/2010:13:18:30 +0300] "GET /css/foothold.ru.css HTTP/1.1" 200 2995 "http://foothold.ru/" "My User Agent in WEBPAGE"
ip default ((((