Function

CFWriteStreamGetError(_:)

Returns the error status of a stream.

Declaration

func CFWriteStreamGetError(_ stream: CFWriteStream!) -> CFStreamError

Parameters

stream

The stream to examine.

Return Value

The error status of stream returned in a CFStreamError structure.

See Also

Examining Stream Properties

func CFWriteStreamCanAcceptBytes(CFWriteStream!) -> Bool

Returns whether a writable stream can accept new data without blocking.

func CFWriteStreamCopyError(CFWriteStream!) -> CFError!

Returns the error associated with a stream.