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. send data in LAN
Qt 6.11 is out! See what's new in the release blog

send data in LAN

Scheduled Pinned Locked Moved Unsolved General and Desktop
14 Posts 5 Posters 5.0k Views 3 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.
  • R Offline
    R Offline
    Rameshguru
    wrote on last edited by
    #1

    How to send data in LAN please explain it.
    I already done in serialcommunication but i dont know about this LAN

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      There are many samples
      http://doc.qt.io/qt-5/examples-network.html

      What you want to send and to what server ?

      1 Reply Last reply
      2
      • R Offline
        R Offline
        Rameshguru
        wrote on last edited by
        #3

        @mrjj
        other system or device mrjj

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Then usually http://doc.qt.io/qt-5/qtcpsocket.html and QTcpServer are your friends.

          Depending on what you want to achieve the Qt Remote Objects module might also be of interest.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1
          • VRoninV Offline
            VRoninV Offline
            VRonin
            wrote on last edited by
            #5

            Page 323 (341 of the PDF) of C++ GUI Programming with Qt4

            "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
            ~Napoleon Bonaparte

            On a crusade to banish setIndexWidget() from the holy land of Qt

            1 Reply Last reply
            1
            • R Offline
              R Offline
              Rameshguru
              wrote on last edited by
              #6

              @SGaist ,@VRonin our system not connect in common LAN connection
              here our system connect to hardware

              VRoninV 1 Reply Last reply
              0
              • R Rameshguru

                @SGaist ,@VRonin our system not connect in common LAN connection
                here our system connect to hardware

                VRoninV Offline
                VRoninV Offline
                VRonin
                wrote on last edited by
                #7

                @Rameshguru The title of your post is literally "send data in LAN"

                "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                ~Napoleon Bonaparte

                On a crusade to banish setIndexWidget() from the holy land of Qt

                1 Reply Last reply
                1
                • R Offline
                  R Offline
                  Rameshguru
                  wrote on last edited by
                  #8

                  @VRonin yes i want send data serial (UART) but now send Data using LAN cable sir

                  1 Reply Last reply
                  0
                  • ? Offline
                    ? Offline
                    A Former User
                    wrote on last edited by
                    #9

                    You don't mean like this, do you?

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

                      yes sir i don't mean this diagram

                      1 Reply Last reply
                      0
                      • R Offline
                        R Offline
                        Rameshguru
                        wrote on last edited by
                        #11

                        @Wieland sir i already got my system ip,here interface to another system using LAN so i give ip address of the system that particular system is now connected to my system then pass data

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #12

                          And what is running on that system that makes use of the network ?

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • R Offline
                            R Offline
                            Rameshguru
                            wrote on last edited by
                            #13

                            @Wieland it is possible please explain or send sample code

                            mrjjM 1 Reply Last reply
                            0
                            • R Rameshguru

                              @Wieland it is possible please explain or send sample code

                              mrjjM Offline
                              mrjjM Offline
                              mrjj
                              Lifetime Qt Champion
                              wrote on last edited by mrjj
                              #14

                              @Rameshguru
                              Hi
                              No its not possible to send serial communication over a switch.

                              However, you can easy send same data using network.

                              But most of us , are not really sure what you are asking, what you have and what you want to do.
                              but ifs NOT serial plugs but LAN plugs then you need
                              http://doc.qt.io/qt-5/examples-network.html

                              1 Reply Last reply
                              2

                              • Login

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