Post

Replies

Boosts

Views

Activity

Reply to Network Reachability In Network extension
NetworkExtension providers do not have guaranteed access to a run loop. If you want to use a run loop based API, you must: Start your own thread Schedule your run loop sources on that thread’s run loop Have that thread run the run loop This is a colossal pain, so it’s best to use a queue-based API where it’s available. How would one handle callbacks for SCDynamicStoreCreateRunLoopSource? Could you provide a snippet for setting up the run loop.
Apr ’21