Language

StructCmsghdr Constructors

Definition

Overloads

Name Description
StructCmsghdr(Int32, Int32, Byte[])

Creates an ancillary message from a byte array.

StructCmsghdr(Int32, Int32, Int16)

Creates an ancillary message from a 16-bit integer.

StructCmsghdr(Int32, Int32, Byte[])

Creates an ancillary message from a byte array.

[Android.Runtime.Register(".ctor", "(II[B)V", "", ApiSince=31)]
public StructCmsghdr(int cmsg_level, int cmsg_type, byte[] value);
[<Android.Runtime.Register(".ctor", "(II[B)V", "", ApiSince=31)>]
new Android.Systems.StructCmsghdr : int * int * byte[] -> Android.Systems.StructCmsghdr

Parameters

cmsg_level
Int32

The protocol level for this ancillary message.

cmsg_type
Int32

The message type defined by the selected protocol level.

value
Byte[]

The bytes that form the ancillary message payload.

Attributes

Remarks

The protocol level and message type describe how the payload bytes are to be interpreted.

Applies to

StructCmsghdr(Int32, Int32, Int16)

Creates an ancillary message from a 16-bit integer.

[Android.Runtime.Register(".ctor", "(IIS)V", "", ApiSince=31)]
public StructCmsghdr(int cmsg_level, int cmsg_type, short value);
[<Android.Runtime.Register(".ctor", "(IIS)V", "", ApiSince=31)>]
new Android.Systems.StructCmsghdr : int * int * int16 -> Android.Systems.StructCmsghdr

Parameters

cmsg_level
Int32

The protocol level for this ancillary message.

cmsg_type
Int32

The message type defined by the selected protocol level.

value
Int16

The 16-bit integer to encode as message data.

Attributes

Remarks

The integer is encoded as two bytes in the system's native byte order.

Applies to