Java.Net.Socket.OutputStream Property
Returns an output stream to write data into this socket.

Syntax

[get: Android.Runtime.Register("getOutputStream", "()Ljava/io/OutputStream;", "GetGetOutputStreamHandler")]
public virtual System.IO.Stream OutputStream { get; }

Value

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while creating the output stream or the socket is in an invalid state.

Remarks

Returns an output stream to write data into this socket. If the socket has an associated Java.Nio.Channels.SocketChannel and that channel is in non-blocking mode then writes to the stream will throw a Java.Nio.Channels.IllegalBlockingModeException.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1