Skip to content

Remote peer discovered, but doesn't trigger onPeerDiscovered #16

Description

@4ndre

Trying to follow the example, making a jReto Android peer and a sReto iOS peer (Swift5+SwiftUI). On the Android side all seems to work fine, discover the iOS (emulator) and can display peer info. iOS also shows that it discovered the Android device, but I cannot get the peer info since onPeerDiscovered does never trigger.
Reto[Info] 2020-10-06 05:29:00 +0000: -- Peer Discovery Information --
Reto[Info] 2020-10-06 05:29:00 +0000: - Peers now reachable:
Reto[Info] 2020-10-06 05:29:00 +0000: 918B5D60-DBEA-4239-BB64-F5C73C662C8A (via 918B5D60-DBEA-4239-BB64-F5C73C662C8A, cost: 10.0)
Reto[Info] 2020-10-06 05:29:00 +0000: No nodes became unreachable.
Reto[Info] 2020-10-06 05:29:00 +0000: No routes changed.

Having also issues connecting, but that could be an emulator issue.
Reto[Info] 2020-10-06 05:29:00 +0000: try to connect to: Galaxy-S10e-lan.local., port: 43699
Reto[Info] 2020-10-06 05:29:00 +0000: Attempt to write before connected

UPDATE: Thought it was a Swift version problem, but same behavior in Swift 4!

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