Os.Shutdown(FileDescriptor, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
See shutdown(2).
[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
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.