We developed packet tunnel extension code recently, the connection works now. 
So we tried to add On Demand Rule for the app. We have some question about this 
feature but can not found in the document.
1. It seems the NEOnDemandRule only works when we enable the VPN profile; if we 
create more than one profile, the only one enabled profile can be triggered, 
other profiles will keep silent without any effect, is it correct?

2. We can only let NEOnDemandRuleEvaluateConnection rule be triggered; we tried 
NEOnDemandRuleConnect and NEOnDemandRuleDisconnect rule without luck; when use 
NEOnDemandRuleConnect rule, it can not be triggered; when use 
NEOnDemandRuleDisconnect rule the connected tunnel did not dropped. We only 
fill domain into DNSSearchDomainMatch field, is that enough or we need to add 
more items?

p.s. last time I mentioned the sleepWithCompletionHandler not working issue, I 
found it is working actually; the reason it is not working to me is because 
when I tried to check the behaviour via device log with cable connected, the 
iOS will not sleep at all; that is to say, if the iOS device connected with 
powered cable, it will not go into sleep mode, even we turn off the screen and 
it looks like sleep but actually not.

Kevin




Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (Macnetworkprog@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/macnetworkprog/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to