GetOutputStreamAsync | getOutputStreamAsync methods

DatagramSocket.GetOutputStreamAsync | getOutputStreamAsync methods

Starts an operation to get an IOutputStream to a remote destination that can then be used to send network data.

Overload list

MethodDescription
GetOutputStreamAsync(EndpointPair) Starts an operation to get an IOutputStream to a remote network destination specified by an EndpointPair object that can then be used to send network data.
GetOutputStreamAsync(HostName, String) Starts an operation to get an IOutputStream to a remote destination specified by a remote hostname and a remote service name that can then be used to send network data.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Sockets
Windows::Networking::Sockets [C++]

Metadata

Windows.winmd

Capabilities

ID_CAP_NETWORKING [Windows Phone]

See also

DatagramSocket
IOutputStream

 

 

Show:
© 2016 Microsoft