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. Is there any bettwer way than systemProxyForQuery() to findout is system behind proxy?
Forum Updated to NodeBB v4.3 + New Features

Is there any bettwer way than systemProxyForQuery() to findout is system behind proxy?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 993 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.
  • M Offline
    M Offline
    mady
    wrote on last edited by
    #1

    Hi Experts,
    I am using systemProxyForQuery() to identify if system is behind proxy but on windows it takes long long time. Is there any other way available to find out if system is behind proxy? My application has built in Qt4.7, can't use Qt4.8.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hardcodes.de
      wrote on last edited by
      #2

      You could read the IE registry settings but they may not be configured evenif the system is behind a proxy.

      Also not 100% safe would be a nslookup for an external domain. If you get an IP, you propably don't have a proxy. If not, chances are high that there is a proxy.
      IMHO there is no reliable way to know if there is one and how to connect.

      At some point you must ask the user.

      while(!sleep){++sheep;}

      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