Results 1 to 3 of 3

Thread: What ways does NetworkAccessManager send a request to Internet?

  1. #1
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Exclamation What ways does NetworkAccessManager send a request to Internet?

    Hi all
    I have written a demo which can run well on window/S60-5th emulator. But failed on phone.

    In a word, my question is that does NetworkAccessManager support access Internet via GPRS?

    Everytime after I launched my app on MX5800, I pressed send-button to send some datas to a Http server. Then screen pop up a dialog to let me chose a AP. I chose GRPS (also by WAP ) and then phone status-bar show that connection created successfully. But not data sent out, I check it out at network manager. No byte in, and no byte out.

    When I turned to emulator, things changed. Data can be sent and received correctly. I'm sure the emulotar use winsock but not something else like wlan and GPRS.
    Could you help me if you have any idea? Thanks a lot.

    Platform : S60 5th and Windows XP.

  2. #2
    Join Date
    Apr 2010
    Posts
    6
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows Symbian S60

    Default Re: What ways does NetworkAccessManager send a request to Internet?

    Anyone can help?

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

    Default Re: What ways does NetworkAccessManager send a request to Internet?

    Quote Originally Posted by Zmrca View Post
    In a word, my question is that does NetworkAccessManager support access Internet via GPRS?
    Qt doesn't care about the type of connection, it uses the native API for handling sockets so as long as your device is connected to the Internet, QNAM data should flow.

    See if things change if you establish the GPRS connection before running the application.
    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.


Similar Threads

  1. Is there any ways to check for nan inf and -inf in Qt?
    By aarelovich in forum Qt Programming
    Replies: 5
    Last Post: 2nd June 2016, 12:29
  2. Two ways, Which one is better?
    By HelloDan in forum Qt Programming
    Replies: 19
    Last Post: 30th March 2009, 22:24
  3. How do I send data with http post request?
    By Morea in forum Qt Programming
    Replies: 13
    Last Post: 21st January 2009, 22:51
  4. ways to exit appl.
    By whoops.slo in forum Newbie
    Replies: 1
    Last Post: 29th January 2007, 18:18
  5. Qhttp::request(...) method and GET request
    By mikhailt in forum Qt Programming
    Replies: 4
    Last Post: 15th September 2006, 12:26

Tags for this Thread

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.