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. Multiple connections with QModbusTcpServer

Multiple connections with QModbusTcpServer

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 857 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.
  • P Offline
    P Offline
    Penta
    wrote on last edited by
    #1

    What happens when there are multiple connections on the same port when using QModbusTcpServer? i.e. multiple clients querying the same server.

    Thanks!

    jsulmJ 1 Reply Last reply
    0
    • P Penta

      What happens when there are multiple connections on the same port when using QModbusTcpServer? i.e. multiple clients querying the same server.

      Thanks!

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Penta The documentation says (http://doc.qt.io/qt-5/qmodbustcpserver.html#details): "Communication via Modbus requires the interaction between a single Modbus client instance and single Modbus server".
      I guess your use case is not supported? But I don't know what will happen if you try.

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

      P 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Penta The documentation says (http://doc.qt.io/qt-5/qmodbustcpserver.html#details): "Communication via Modbus requires the interaction between a single Modbus client instance and single Modbus server".
        I guess your use case is not supported? But I don't know what will happen if you try.

        P Offline
        P Offline
        Penta
        wrote on last edited by
        #3

        @jsulm So, I suppose when the connection is busy it doesn't create other thread to attend more connections. Thanks for your response!

        jsulmJ 1 Reply Last reply
        0
        • P Penta

          @jsulm So, I suppose when the connection is busy it doesn't create other thread to attend more connections. Thanks for your response!

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Penta I don't know what will happen. But you could try to establish more than one connection and see what happens.

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

          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