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. TCP Server - Client connection error with WinRT

TCP Server - Client connection error with WinRT

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtcpserverqtcpsocketwinrt
1 Posts 1 Posters 856 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.
  • beeckscheB Offline
    beeckscheB Offline
    beecksche
    wrote on last edited by beecksche
    #1

    Hi,
    i want to build a server - client connection with the tcp protocol. On my server i use the QTcpServer class to get the pending connections. On my client i use the QTcpSocket class to connect to the server.

    The server is on a x86 system and compiled with the precompiled binaries for Win32, MSVC2013. The client is on an ARM system (Win 10 IoT Core) with the precompiled binaries for WinRT, MSVC2015.

    When i start the server and connect from the client to it, i've got the QAbstractSocket::SocketTimeoutError error on the client side. But on the server side the newConnection() signal is emitted and the nextPendingConnection() function returns a vaild pointer with the correct host.

    I have tried to disable the firewall with NetSh Advfirewall set allprofiles state off but on my client i got the same error.

    I have also run the client on a non ARM system and there i can connect to the server successfully, so i think i have to change some settings on Win 10 IoT core or the precompiled binaries are not correct.

    Thanks

    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