DatagramSocket.OutputStream | outputStream property

Gets the output stream to write to the remote host.

Syntax


public:
property IOutputStream^ OutputStream { 
   IOutputStream^ get();
}

Property value

Type: IOutputStream

A stream of bytes to be written to the remote host in a UDP datagram.

Remarks

This property is often used with the DataWriter object to write outgoing data to be sent to the remote network destination on a socket object.

Every write to the OutputStream results in a network packet being sent.

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

See also

DatagramSocket
DataWriter
IOutputStream

 

 

Show:
© 2015 Microsoft