NSStream.CreatePairWithSocketToHost 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 the specified host endpoint.
public static void CreatePairWithSocketToHost(System.Net.IPEndPoint endpoint, out Foundation.NSInputStream readStream, out Foundation.NSOutputStream writeStream);
public static void CreatePairWithSocketToHost(System.Net.IPEndPoint endpoint, out Foundation.NSInputStream? readStream, out Foundation.NSOutputStream? writeStream);
static member CreatePairWithSocketToHost : System.Net.IPEndPoint * NSInputStream * NSOutputStream -> unit
Parameters
- 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.