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 Update on Monday, May 27th 2025

Set custom socket on QNetworkAccessManager request

Scheduled Pinned Locked Moved Unsolved General and Desktop
socks4qnetworkaccessmqnetworkqtcpsocketwinsock
2 Posts 2 Posters 1.6k Views
  • 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.
  • E Offline
    E Offline
    eventhorizon99
    wrote on 28 Jun 2016, 17:13 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 28 Jun 2016, 22:44 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

      1/2

      28 Jun 2016, 17:13

      • Login

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