Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wibosco/ssdpdiscoverywithnetworkframework-example
An example project written in Swift on how to use SSDP to discover services using the Network framework from Apple ðŸ”
https://github.com/wibosco/ssdpdiscoverywithnetworkframework-example
ios multicast network ssdp swift
Last synced: about 2 months ago
JSON representation
An example project written in Swift on how to use SSDP to discover services using the Network framework from Apple ðŸ”
- Host: GitHub
- URL: https://github.com/wibosco/ssdpdiscoverywithnetworkframework-example
- Owner: wibosco
- License: mit
- Created: 2019-11-22T20:14:03.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-10-07T13:24:53.000Z (over 3 years ago)
- Last Synced: 2023-08-13T13:11:31.533Z (over 1 year ago)
- Topics: ios, multicast, network, ssdp, swift
- Language: Swift
- Homepage: https://williamboles.com/
- Size: 42 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://github.com/wibosco/SSDPDiscoveryWithNetworkFramework-Example/actions/workflows/workflow.yml/badge.svg)](https://github.com/wibosco/SSDPDiscoveryWithNetworkFramework-Example/actions/workflows/workflow.yml)
# SSDPDiscoveryWithNetworkFramework-Example
iOS 14 introduced a range of privacy features, one of which was to limit an app access to the local network. Especially if that app is attempting to discover what is on that network using multicasting (which is exactly what this example project is demonstrating). As such, in order to run this example on a device you will need to request that the `com.apple.developer.networking.multicast` entitlement is enabled from Apple (the example works on the simulator without the entitlement being enabled). See this [note](https://developer.apple.com/news/?id=0oi77447) for more details.
At the moment it looks like Network.framework does not support SSDPs communication pattern (of sending a multicast message and then receiving a unicast response), see https://developer.apple.com/forums/thread/680731 for more details.