[Interest] QTcpServer::setProxy meaning?

Alexander Dyagilev alervdvcw at gmail.com
Mon Feb 27 10:40:42 CET 2023


Ooops, sorry, it's a bug in my code.

On 2/27/2023 12:38 PM, Alexander Dyagilev wrote:
> Hello,
>
> OK, thanks for the report.
>
> It seems, there is a bug?
>
> QNetworkProxyQuery q(32000, QString(), QNetworkProxyQuery::TcpServer);
> m_proxyFactory->queryProxy(q);
>
> returns a proxy of QNetworkProxy::HttpProxy type. In docs it's stated 
> that such a proxy supports outgoing TCP connections only 
> (https://doc.qt.io/qt-6/qnetworkproxy.html#ProxyType-enum).
>
>
> On 2/25/2023 8:50 PM, Thiago Macieira wrote:
>> On Saturday, 25 February 2023 07:17:39 PST Alexander Dyagilev wrote:
>>> Hello,
>>>
>>> I can't understand it. Are there really proxies supporting such a mode?
>> Yes, SOCKS proxies for example.
>>
>>> I.e. QTcpServer tells a proxy to start listening on some specific port
>>> and redirect incoming connections to QTcpServer?
>> Yes.
>>
>>
>> _______________________________________________
>> Interest mailing list
>> Interest at qt-project.org
>> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list