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. Communications over Wi-Fi
QtWS25 Last Chance

Communications over Wi-Fi

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 4.9k Views
  • 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
    mythbusterma
    wrote on last edited by
    #1

    Hello, I'm developing a desktop application using Qt, and for it to work, it needs to communicate with Android and iOS devices over Wi-Fi (neither of the mobile devices will be running Qt-based software). I was wondering what the best way to go about doing this would be? (the information being transmitted will be small data files, signals, and handshakes to ensure they are connected)

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      QTcpSocket is something needed for you I think.

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

        From a Qt standpoint, Denis is right. QTcpSocket (or perhaps QTcpServer -- depending on what your needs are) will give you the starting point in Qt, but I think that the biggest thing will be to make sure you have your communications protocol down and everything designed thoroughly. After that, the network communication part should be fairly straightforward.

        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
        • M Offline
          M Offline
          mythbusterma
          wrote on last edited by
          #4

          Thank you, I was also wondering what protocols I should be using for communication between the devices?

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

            Unfortunately, I don't think there's anyone that can answer that here, with as little information as you've given. Even so, it's out of the scope of Qt. You could look at some of the Networking examples which are included with Qt to see some examples of how some communications are done.

            However, if anyone has anything additional to suggest, I'm sure it will be said.

            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
            • C Offline
              C Offline
              changsheng230
              wrote on last edited by
              #6

              Need socket programming (QtNetwork module needed) for binaries communication for PC/Qt supported devices, as for iOS/Andriod, need also socket programming which iOS/Android supported.

              Chang Sheng
              常升

              1 Reply Last reply
              0
              • D Offline
                D Offline
                DenisKormalev
                wrote on last edited by
                #7

                changsheng230, socket is always socket and it doesn't matter what os/arch sits on the other side. What do you mean by "socket programming which iOS/Android supported"?

                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