Set custom socket on QNetworkAccessManager request

  • Hello. I'im using qt for gui and network actions. I have seen that, there is no SOCKS4 protocol implemented for some reason, for the QNetworkAccessManager class. So i wrote my own little wrapper which creates a socket, and makes a connection using SOCKS4 protocol to the target ip. Now i want integrate it in the QNetworkAccessManager, writing a whole new http class with headers parsing, cookie container and ssl support just because of socks4 support seems silly. Is there any way i can achieve this somehow?

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    Maybe QNetworkProxy might something.

    Hope it helps

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.