Read datagrams from the flow.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
A block that will be executed by the system on an internal system thread when datagrams have been read from the flow. The block takes the datagrams that were read, the destination endpoints of the datagrams, and an
NSError. If an error occurred while reading then
errorwill be non-nil. See
Proxy Flow Error
NEAppfor a list of possible error codes. If the
remotearrays are non-nil but are empty, then no more datagrams can be subsequently read from the flow.