Open
Description
Originally filed for Flutter: flutter/flutter#41500
The issue reports that using Dart to access resources over VPN doesn't work.
I looked through Dart's source code and it appears to be using posix sockets. Apple's documentation recommends against that: In iOS, POSIX networking is discouraged because it does not activate the cellular radio or on-demand VPN. Thus, as a general rule, you should separate the networking code from any common data processing functionality and rewrite the networking code using higher-level APIs.
We should implement a socket implementation based on CFSocket.