Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Set custom socket on QNetworkAccessManager request
Forum Updated to NodeBB v4.3 + New Features

Set custom socket on QNetworkAccessManager request

Scheduled Pinned Locked Moved Unsolved General and Desktop
socks4qnetworkaccessmqnetworkqtcpsocketwinsock
2 Posts 2 Posters 1.6k Views 1 Watching
  • 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.
  • eventhorizon99E Offline
    eventhorizon99E Offline
    eventhorizon99
    wrote on last edited by eventhorizon99
    #1

    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
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved