NSStream.CreatePairWithPeerSocketSignature 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 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.