title: How to achieve VpnService's protect in an iOS VPN?
body: <p>I'm porting an Android device's VPN App to iOS (using <code>NEPacketTunnelProvider</code>).</p>
  <p>Android provides a mechanism to bypass VPN for some tcp/udp connections, using the following API:</p>
  <pre class="lang-java prettyprint-override"><code>class VpnService {
  
    // ...
    
    public boolean protect(int socket) { /* ... */ }
  </code></pre>
  <p>I don't see equivalent API in iOS. How do I implement something equivalent for iOS?</p>