NSStream.CreatePairWithPeerSocketSignature Method

Definition

Creates a pair of NSInputStream and NSOutputStream connected to a peer socket with the specified signature.

public static void CreatePairWithPeerSocketSignature(System.Net.Sockets.AddressFamily family, System.Net.Sockets.SocketType type, System.Net.Sockets.ProtocolType proto, System.Net.IPEndPoint endpoint, out Foundation.NSInputStream readStream, out Foundation.NSOutputStream writeStream);
public static void CreatePairWithPeerSocketSignature(System.Net.Sockets.AddressFamily family, System.Net.Sockets.SocketType type, System.Net.Sockets.ProtocolType proto, System.Net.IPEndPoint endpoint, out Foundation.NSInputStream? readStream, out Foundation.NSOutputStream? writeStream);
static member CreatePairWithPeerSocketSignature : System.Net.Sockets.AddressFamily * System.Net.Sockets.SocketType * System.Net.Sockets.ProtocolType * System.Net.IPEndPoint * NSInputStream * NSOutputStream -> unit

Parameters

family
AddressFamily

The address family to use.

type
SocketType

The socket type to use.

proto
ProtocolType

The protocol type to use.

endpoint
IPEndPoint

The IP endpoint to connect to.

readStream
NSInputStream

When this method returns, contains the created NSInputStream.

writeStream
NSOutputStream

When this method returns, contains the created NSOutputStream.

Applies to