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. How can I send Xml data to a specific IP using tcpSocket?
Forum Update on Monday, May 27th 2025

How can I send Xml data to a specific IP using tcpSocket?

Scheduled Pinned Locked Moved Solved General and Desktop
5 Posts 3 Posters 1.3k 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.
  • K Offline
    K Offline
    kwanyoung
    wrote on 2 Jul 2018, 04:01 last edited by
    #1

    How can I send xml data to a specific ip using tcpSocket?

    please answer about my question.

    Thank you.

    J 1 Reply Last reply 2 Jul 2018, 04:41
    0
    • K kwanyoung
      2 Jul 2018, 04:01

      How can I send xml data to a specific ip using tcpSocket?

      please answer about my question.

      Thank you.

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 2 Jul 2018, 04:41 last edited by
      #2

      @kwanyoung You send XML as any other data.
      Please take time to read documentation:
      https://doc.qt.io/qt-5.11/qabstractsocket.html
      https://doc.qt.io/qt-5.11/qtnetwork-programming.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      3
      • K Offline
        K Offline
        kwanyoung
        wrote on 2 Jul 2018, 07:37 last edited by
        #3

        Thank you ,
        but , I do not understand well.....
        Could you help me with a simple example?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          VRonin
          wrote on 2 Jul 2018, 10:26 last edited by
          #4

          The fortune example tackles this issue:

          • server
          • client

          "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
          4
          • K Offline
            K Offline
            kwanyoung
            wrote on 2 Jul 2018, 23:32 last edited by
            #5

            Thank you.
            I'll study !

            1 Reply Last reply
            0

            1/5

            2 Jul 2018, 04:01

            • Login

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