Results 1 to 7 of 7

Thread: qnetworkaccessmanager problem!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jul 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qnetworkaccessmanager problem!

    the problem is solved. i use my own tcp socket and handle authentication issues myself. But i really wondering why QNetworkAccessManager or QHttp does not allowed access to their internal tcpSocket...Thanks wysota.

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: qnetworkaccessmanager problem!

    QHttp has a QHttp::setSocket() method you can use to access the socket. But I really don't see how it would help in your situation...
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Jul 2009
    Posts
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qnetworkaccessmanager problem!

    well QHttp::setSocket() was the first thing i tried without positive results...

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,373
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: qnetworkaccessmanager problem!

    But what would you want to do with the socket?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  5. #5
    Join Date
    Jun 2010
    Posts
    3
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: qnetworkaccessmanager problem!

    I am looking for access to the socket to see if it is still connected or not.

    When I use QNetworkAccessManager and disconnect from the network in the midst of an FTP upload, then QNetworkAccessManager never recovers and never informs me of a problem and subsequent put() requests are ignored.

Similar Threads

  1. Replies: 1
    Last Post: 23rd April 2009, 10:05
  2. Replies: 19
    Last Post: 4th April 2009, 00:17
  3. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 13:45
  4. Problem with receiving events from QDateEdit
    By gunhelstr in forum Qt Programming
    Replies: 4
    Last Post: 20th April 2006, 12:21
  5. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 22:36

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.