Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Unsolved Set custom socket on QNetworkAccessManager request

    General and Desktop
    socks4 qnetworkaccessm qnetwork qtcpsocket winsock
    2
    2
    1302
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • eventhorizon99
      eventhorizon99 last edited by eventhorizon99

      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?

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        Maybe QNetworkProxy might something.

        Hope it helps

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply Reply Quote 0
        • First post
          Last post