getInputStream(_:outputStream:)
Creates a pair of input and output streams for the receiver and returns a Boolean value that indicates whether they were retrieved successfully.
Declaration
func getInputStream(_ inputStream: UnsafeMutablePointer<InputStream?>?, outputStream: UnsafeMutablePointer<OutputStream?>?) -> BoolParameters
- inputStream:
Upon return, the input stream for the receiver. Pass
NULLif you do not need this stream. - outputStream:
Upon return, the output stream for the receiver. Pass
NULLif you do not need this stream.
Return Value
true if the streams are created successfully, otherwise false.
Discussion
After this method is called, no delegate callbacks are called by the receiver.