Function

CFWriteStreamCanAcceptBytes

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

Declaration

Boolean CFWriteStreamCanAcceptBytes(CFWriteStreamRef stream);

Parameters

stream

The stream to examine.

Return Value

true if data can be written to stream without blocking, false otherwise. If stream cannot tell if data can be written without actually trying to write the data, this function returns true.

See Also

Examining Stream Properties

CFWriteStreamCopyProperty

Returns the value of a property for a stream.

CFWriteStreamCopyError

Returns the error associated with a stream.

CFWriteStreamGetError

Returns the error status of a stream.

CFWriteStreamGetStatus

Returns the current state of a stream.