Skip to content

Investigate migrating SSDP code to NWConnectionGroup on iOS 14 #32

Description

@simonmitchell

NWConnectionGroup is a much more usable API than CFSocket... CFSocket is ancient, and difficult to use, and means we have to handle network changes ourselves. If we can move over to using the Networking framework (At least on iOS 14 for now) we can remove some of the tricky reachability stuff we have going on and let Apple handle it for us.

Will need to think of a clever way to keep support for both so we can still support iOS < 14, perhaps making UDPClient a protocol and setting it using an if #available( statement in the initialiser of the UDP device discovery.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions