Java.Net.Socket.ShutdownOutput Method
Closes the output stream of this socket.

Syntax

[Android.Runtime.Register("shutdownOutput", "()V", "GetShutdownOutputHandler")]
public virtual void ShutdownOutput ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while closing the socket output stream.
Java.Net.SocketExceptionif the output stream is already closed.

Remarks

Closes the output stream of this socket. All buffered data will be sent followed by the termination sequence. Writing to the closed output stream will cause an IOException.

[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