Udostępnij za pośrednictwem


LocalSocket.SetFileDescriptorsForSend(FileDescriptor[]) Method

Definition

Enqueues a set of file descriptors to send to the peer.

[Android.Runtime.Register("setFileDescriptorsForSend", "([Ljava/io/FileDescriptor;)V", "GetSetFileDescriptorsForSend_arrayLjava_io_FileDescriptor_Handler")]
public virtual void SetFileDescriptorsForSend (Java.IO.FileDescriptor[]? fds);
[<Android.Runtime.Register("setFileDescriptorsForSend", "([Ljava/io/FileDescriptor;)V", "GetSetFileDescriptorsForSend_arrayLjava_io_FileDescriptor_Handler")>]
abstract member SetFileDescriptorsForSend : Java.IO.FileDescriptor[] -> unit
override this.SetFileDescriptorsForSend : Java.IO.FileDescriptor[] -> unit

Parameters

fds
FileDescriptor[]

non-null; file descriptors to send.

Attributes

Remarks

Enqueues a set of file descriptors to send to the peer. The queue is one deep. The file descriptors will be sent with the next write of normal data, and will be delivered in a single ancillary message. See "man 7 unix" SCM_RIGHTS on a desktop Linux machine.

Java documentation for android.net.LocalSocket.setFileDescriptorsForSend(java.io.FileDescriptor[]).

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