Skip to content

Handle TCP reconnection issues #8

@gprossliner

Description

@gprossliner

In the following scenario:

  • Windows laptop has board connected and runs qpyt --port-server
  • Mac Book runs qpyt watch --port 10.0.0.12:15612

All works fine until windows goes to sleep. It's clear that the server running on a laptop will stop responding in sleep state, but

  • It should resume it's operation after waking up
  • It should resume it's operation even without logging back in / restarting the server or client

Based on my research, windows will shut down the network interfaces, so the TCP connections may timeout on the client, so the previous socket is considered dead.

But when the laptop restarts, the server socket is ready to accept new connections. Meaning we need to

  • Analyse the behavior further
  • Implement reconnection on the client socket

Is is considered a prerequisite to #2, or it needs to be evaluated how that interacts with that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions