Language

Os.Recvmsg(FileDescriptor, StructMsghdr, Int32) Method

Definition

See recvmsg(2).

[Android.Runtime.Register("recvmsg", "(Ljava/io/FileDescriptor;Landroid/system/StructMsghdr;I)I", "", ApiSince=31)]
public static int Recvmsg(Java.IO.FileDescriptor fd, Android.Systems.StructMsghdr msg, int flags);
[<Android.Runtime.Register("recvmsg", "(Ljava/io/FileDescriptor;Landroid/system/StructMsghdr;I)I", "", ApiSince=31)>]
static member Recvmsg : Java.IO.FileDescriptor * Android.Systems.StructMsghdr * int -> int

Parameters

fd
FileDescriptor

The socket to receive from.

msg
StructMsghdr

The message buffers and metadata to populate.

flags
Int32

The flags that control receiving the message.

Returns

The message byte count reported by the receive operation.

Attributes

Remarks

See recvmsg(2).

Java documentation for android.system.Os.recvmsg(java.io.FileDescriptor, android.system.StructMsghdr, 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