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. QLocalServer with UAC
Forum Updated to NodeBB v4.3 + New Features

QLocalServer with UAC

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

    Hi all,

    I have two applications. One of them utilizes the QLocalSocket to start a server that provides data for many clients. The problem that I now encountered is, that the connection between client and server can not be established if the server application was started with UAC flags at highestAvailable rights. It seems that QLocalSockets are restricted to the user space the application was started in. Is there a way that I can get a connection anyway using QLocalSocket by somehow requesting access rights or do I have to switch to normal QSockets?

    One thing that might be improtant is that the server application is automatically started by the first client who want's to get access to sever data, if it was not yet running.

    Thanks for any help

    1 Reply Last reply
    0
    • A Offline
      A Offline
      alpha_one_x86
      wrote on last edited by
      #2

      Same here, it's why the QLocalServer not listen with all rights (same on unix)

      The best way to do file copy is in Qt:
      http://ultracopier.first-world.info/

      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