Language

Os.Shutdown(FileDescriptor, Int32) Method

Definition

[Android.Runtime.Register("shutdown", "(Ljava/io/FileDescriptor;I)V", "")]
public static void Shutdown(Java.IO.FileDescriptor? fd, int how);
[<Android.Runtime.Register("shutdown", "(Ljava/io/FileDescriptor;I)V", "")>]
static member Shutdown : Java.IO.FileDescriptor * int -> unit

Parameters

fd
FileDescriptor

The socket to shut down.

how
Int32

The directions to disable: SHUT_RD for receiving, SHUT_WR for sending, or SHUT_RDWR for both.

Attributes

Exceptions

Remarks

See shutdown(2).

Java documentation for android.system.Os.shutdown(java.io.FileDescriptor, int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to