DatagramSocket.OutputStream Property

Definition

Gets the output stream to write to the remote host.

public:
 property IOutputStream ^ OutputStream { IOutputStream ^ get(); };
IOutputStream OutputStream();
public IOutputStream OutputStream { get; }
var iOutputStream = datagramSocket.outputStream;
Public ReadOnly Property OutputStream As IOutputStream

Property Value

IOutputStream

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

Windows 10 requirements

App capabilities
ID_CAP_NETWORKING [Windows Phone]

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.

Applies to

See also