Platforms to show: All Mac Windows Linux Cross-Platform

Back to NSStreamMBS class.

NSStreamMBS.kStatusAtEnd = 5

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

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.

NSStreamMBS.kStatusClosed = 6

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

The stream is closed (close has been called on it).

NSStreamMBS.kStatusError = 7

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

The remote end of the connection can’t be contacted, or the connection has been severed for some other reason.

NSStreamMBS.kStatusNotOpen = 0

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

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.

NSStreamMBS.kStatusOpen = 2

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

The stream is open, but no reading or writing is occurring.

NSStreamMBS.kStatusOpening = 1

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

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.

NSStreamMBS.kStatusReading = 3

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

Data is being read from the stream. This status would be returned if code on another thread were to call
Status on the stream while a read() was in progress.

NSStreamMBS.kStatusWriting = 4

Type Topic Plugin Version
const Cocoa MBS MacBase Plugin 18.1
One of the status constants.

Data is being written to the stream. This status would be returned if code on another thread were to call
Status on the stream while a write() was in progress.

The items on this page are in the following plugins: MBS MacBase Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...