Jaa


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

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

Windows 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