Share via


Os.Sendto Method

Definition

Overloads

Sendto(FileDescriptor, ByteBuffer, Int32, InetAddress, Int32)

See sendto(2).

Sendto(FileDescriptor, Byte[], Int32, Int32, Int32, SocketAddress)

See sendto(2).

Sendto(FileDescriptor, Byte[], Int32, Int32, Int32, InetAddress, Int32)

See sendto(2).

Sendto(FileDescriptor, ByteBuffer, Int32, InetAddress, Int32)

See sendto(2).

[Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;ILjava/net/InetAddress;I)I", "")]
public static int Sendto (Java.IO.FileDescriptor? fd, Java.Nio.ByteBuffer? buffer, int flags, Java.Net.InetAddress? inetAddress, int port);
[<Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;Ljava/nio/ByteBuffer;ILjava/net/InetAddress;I)I", "")>]
static member Sendto : Java.IO.FileDescriptor * Java.Nio.ByteBuffer * int * Java.Net.InetAddress * int -> int

Parameters

buffer
ByteBuffer
flags
Int32
inetAddress
InetAddress
port
Int32

Returns

Attributes

Exceptions

Remarks

See sendto(2).

Java documentation for android.system.Os.sendto(java.io.FileDescriptor, java.nio.ByteBuffer, int, java.net.InetAddress, 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

Sendto(FileDescriptor, Byte[], Int32, Int32, Int32, SocketAddress)

See sendto(2).

[Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;[BIIILjava/net/SocketAddress;)I", "", ApiSince=29)]
public static int Sendto (Java.IO.FileDescriptor fd, byte[] bytes, int byteOffset, int byteCount, int flags, Java.Net.SocketAddress? address);
[<Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;[BIIILjava/net/SocketAddress;)I", "", ApiSince=29)>]
static member Sendto : Java.IO.FileDescriptor * byte[] * int * int * int * Java.Net.SocketAddress -> int

Parameters

bytes
Byte[]
byteOffset
Int32
byteCount
Int32
flags
Int32
address
SocketAddress

Returns

Attributes

Remarks

See sendto(2).

Java documentation for android.system.Os.sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.SocketAddress).

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

Sendto(FileDescriptor, Byte[], Int32, Int32, Int32, InetAddress, Int32)

See sendto(2).

[Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;[BIIILjava/net/InetAddress;I)I", "")]
public static int Sendto (Java.IO.FileDescriptor? fd, byte[]? bytes, int byteOffset, int byteCount, int flags, Java.Net.InetAddress? inetAddress, int port);
[<Android.Runtime.Register("sendto", "(Ljava/io/FileDescriptor;[BIIILjava/net/InetAddress;I)I", "")>]
static member Sendto : Java.IO.FileDescriptor * byte[] * int * int * int * Java.Net.InetAddress * int -> int

Parameters

bytes
Byte[]
byteOffset
Int32
byteCount
Int32
flags
Int32
inetAddress
InetAddress
port
Int32

Returns

Attributes

Exceptions

Remarks

See sendto(2).

Java documentation for android.system.Os.sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.InetAddress, 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