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. Connect to internet connection
Forum Updated to NodeBB v4.3 + New Features

Connect to internet connection

Scheduled Pinned Locked Moved General and Desktop
12 Posts 6 Posters 4.7k Views 2 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
    mlong
    wrote on last edited by
    #2

    Can you be a little more clear in what you're trying to do? What type of internet connection? What type of network service are you trying to access? A web site? Ftp? Some custom client/server application?

    I'm afraid without more detail you're not going to get a lot of help. :-)

    Software Engineer
    My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Ruzik
      wrote on last edited by
      #3

      I try to do something like this
      http://1.bp.blogspot.com/_KZiT-HoUKZ8/SRvBPsVlKEI/AAAAAAAAADQ/MgMguTeVQVw/s400/Connect.JPG
      Already have a ready connection to the Internet, simply enter your login and password

      1 Reply Last reply
      0
      • K Offline
        K Offline
        koahnig
        wrote on last edited by
        #4

        Either you are using QFtp and QHttp for establishing the connection. However, both are deprecated.

        Qt's recommendation is to use "QNetworkAccessManager":http://doc.qt.nokia.com/4.7/qnetworkaccessmanager.html

        You need to use "QAuthentificator":http://doc.qt.nokia.com/4.7/qauthenticator.html#QAuthenticator

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Ruzik
          wrote on last edited by
          #5

          As i understand QAuthenticator use when i was login in the some server, how can i login in system connection with QAuthenticator?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mlong
            wrote on last edited by
            #6

            I'm still a little unsure of the scenario. Are you using a system whose ISP requires you to authenticate your internet connection before any network access is allowed? Or trying to access an internet server which needs authentication on an existing network connection?

            Software Engineer
            My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Ruzik
              wrote on last edited by
              #7

              bq. Are you using a system whose ISP requires you to authenticate your internet connection before any network access is allowed?

              Yes

              1 Reply Last reply
              0
              • M Offline
                M Offline
                mlong
                wrote on last edited by
                #8

                That's generally, at least from my limited experiences in that scenario, implemented through a custom-provided driver (or authentication application) from your ISP. I don't know that there is a Qt-based solution in that case (unless the ISP exposes an API for that kind of authentication from a 3rd party.)

                Software Engineer
                My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lgeyer
                  wrote on last edited by
                  #9

                  Use "QProcess":http://doc.qt.nokia.com/latest/qprocess.html and the rasdial.exe windows command line utility.
                  @

                  rasdial.exe <connection name> <username> <password>
                  @
                  If you need a more sophisticated solution use the "Windows RAS API":http://goo.gl/6JspE.

                  1 Reply Last reply
                  0
                  • R Offline
                    R Offline
                    Ruzik
                    wrote on last edited by
                    #10

                    Thank you for your help!

                    1 Reply Last reply
                    0
                    • J Offline
                      J Offline
                      Johndavid
                      wrote on last edited by
                      #11
                      This post is deleted!
                      Pl45m4P 1 Reply Last reply
                      0
                      • J Johndavid

                        This post is deleted!

                        Pl45m4P Online
                        Pl45m4P Online
                        Pl45m4
                        wrote on last edited by
                        #12

                        @Johndavid

                        You think @Ruzik is waiting here since 2011 for your reply?


                        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

                        ~E. W. Dijkstra

                        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