- iOS 2.0+
- macOS 10.3+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Status At End
There is no more data to read, or no more data can be written to the stream. When this status is returned, the stream is in a “non-blocking” mode and no data are available.
The remote end of the connection can’t be contacted, or the connection has been severed for some other reason.
Status Not Open
The stream is not open for reading or writing. This status is returned before the underlying call to open a stream but after it’s been created.
The stream is open, but no reading or writing is occurring.
The stream is in the process of being opened for reading or for writing. For network streams, this status might include the time after the stream was opened, but while network DNS resolution is happening.