2 ms·
Also note there's an Android analog: https://developer.android.com/reference/android/net/VpnService#protect(int) https://developer.android.com/reference/android
by dcow 4y ago
Also note there's an Android analog: https://developer.android.com/reference/android/net/VpnService#protect(int) https://developer.android.com/reference/android/net/VpnServi.... You call `protect` on sockets that should not send data through your tunnel. It's a bit more flexible and straightforward IMHO (: