Language

StructMsghdr(SocketAddress, ByteBuffer[], StructCmsghdr[], Int32) Constructor

Definition

Constructs an instance with the given field values

[Android.Runtime.Register(".ctor", "(Ljava/net/SocketAddress;[Ljava/nio/ByteBuffer;[Landroid/system/StructCmsghdr;I)V", "", ApiSince=31)]
public StructMsghdr(Java.Net.SocketAddress? msg_name, Java.Nio.ByteBuffer[] msg_iov, Android.Systems.StructCmsghdr[]? msg_control, int msg_flags);
[<Android.Runtime.Register(".ctor", "(Ljava/net/SocketAddress;[Ljava/nio/ByteBuffer;[Landroid/system/StructCmsghdr;I)V", "", ApiSince=31)>]
new Android.Systems.StructMsghdr : Java.Net.SocketAddress * Java.Nio.ByteBuffer[] * Android.Systems.StructCmsghdr[] * int -> Android.Systems.StructMsghdr

Parameters

msg_name
SocketAddress

The socket address for the message, or null if no address is supplied.

msg_iov
ByteBuffer[]

The buffers that contain data to send or receive.

msg_control
StructCmsghdr[]

The ancillary message headers, or null if none are supplied.

msg_flags
Int32

The flags that describe a received message.

Attributes

Remarks

Constructs an instance with the given field values

Java documentation for android.system.StructMsghdr.StructMsghdr(java.net.SocketAddress, java.nio.ByteBuffer[], android.system.StructCmsghdr[], 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