Düzenle

Aracılığıyla paylaş


CFStream.CreatePairWithSocket(CFSocket, CFReadStream, CFWriteStream) Method

Definition

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.

Applies to