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. Connection delay for QTcpSocket/QTcpServer

Connection delay for QTcpSocket/QTcpServer

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcpsocketqtcpserverconnectiondelayports
1 Posts 1 Posters 967 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
    Mark81
    wrote on last edited by
    #1

    Hello, I wrote a simple application which create two QTcpServer(s) on two different ports.
    Then my own client application connects to both ports with two QTcpSocket(s).

    Client and server are directly connected via a LAN cable (no router or other stuff).
    Sometimes, one socket connects immediately, while the other takes several seconds. How is it possible? The both are running in the same process, on the same machine!

    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