Foundation.NSStream.GetStreamsToHost Method
Creates input and output streams for a TCP/IP connection to a specific host and port.

Syntax

[Foundation.Export("getStreamsToHostWithName:port:inputStream:outputStream:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.Mac_10_10)]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public static void GetStreamsToHost (string hostname, out NSInputStream inputStream, out NSOutputStream outputStream, nint port)

Parameters

hostname
The hostname, can be an dotted IP address, IPv6 address, or a hostname.
port
TCP/IP port on the target system
inputStream
The input stream is returned in this parameter.
outputStream
The output stream is returned in this parameter.

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Foundation
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0