CFStream.CreatePairWithSocket(CFSocket, CFReadStream, CFWriteStream) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a reading and a writing CFStream on top of an existing socket.
public static void CreatePairWithSocket (CoreFoundation.CFSocket socket, out CoreFoundation.CFReadStream readStream, out CoreFoundation.CFWriteStream writeStream);
static member CreatePairWithSocket : CoreFoundation.CFSocket * * -> unit
Parameters
- socket
- CFSocket
Existing socket.
- readStream
- CFReadStream
On return, contains a stream that can be used to read from that end point.
- writeStream
- CFWriteStream
On return, contains a stream that can be used to write to the end point.