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. Host (Source not destination) adress in NetworkAccessManager::post function
Forum Updated to NodeBB v4.3 + New Features

Host (Source not destination) adress in NetworkAccessManager::post function

Scheduled Pinned Locked Moved Solved General and Desktop
qnetworkaccesstcprestpostqnetworkrequest
1 Posts 1 Posters 377 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.
  • A Offline
    A Offline
    Abb Per
    wrote on 18 Jun 2021, 08:15 last edited by Abb Per
    #1

    Hello. My computer have multiple ip adress. And i want to set which ip adress will be use in NetworkAccessManager::post function as a source ip. I set the destination address in qurl. But there is no place where I can set the source address.

    I want to specify the host address(source address not destination) I use when sending post requests.
    But unfortunately I couldn't find a suitable set function in the documentation of QNetworkRequest, QNetworkAccessManager etc. Do QNetworkAccessManager not have this ability?

    There are a lot of posts with similar questions but not exactly this questions. I'm sure there are others like me. Your answer will help a lot of people at all.

    Thanks!

    1 Reply Last reply
    0

    1/1

    18 Jun 2021, 08:15

    • Login

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