Skip to content

retry connecting hosts in multi screen setup  #49

@tobexyz

Description

@tobexyz

Hi, when I am restarting a secondary display the instance is waiting for a connection but the main instance won't reconnect the secondary display. I've to restart the main instance in order to initiate the startup process. This also happens if the secondary display did not receive the udp message during startup due to network issues.

As far as I understand the main instance is trying to reach the configured secondary hosts during startup
https://github.com/bridgecommand/bc/blob/master/src/main.cpp#L745
If the host can't be reached it will be ignored I think.
https://github.com/bridgecommand/bc/blob/master/src/NetworkPrimary.cpp#L125

Is it possible to retry connecting the peers during the main loop before starting the update routine?
https://github.com/bridgecommand/bc/blob/master/src/main.cpp#L856

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions