Contents

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?>?) -> Bool

Parameters

  • inputStream:

    Upon return, the input stream for the receiver. Pass NULL if you do not need this stream.

  • outputStream:

    Upon return, the output stream for the receiver. Pass NULL if 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.

See Also

Configuring Network Services