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. options for the QModbusClient socket
Forum Updated to NodeBB v4.3 + New Features

options for the QModbusClient socket

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 144 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.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi. We are developing a client-server application using QModbusClient (TCP) under linux. Faced with a problem: the ConnectedState status does not change if you pull the cable out of the network card. The state changes only after a long time (about 40 minutes). It was found that when creating a socket, you can specify parameters responsible for delays tcp_user_timeout, tcpkeepalive and others. But when we make a connection, we cannot specify such QModbusClient options. What solution can there be for such a situation?

    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