語言

Os.Sendto 方法

定義

多載

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

請參見 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

參數

buffer
ByteBuffer
flags
Int32
inetAddress
InetAddress
port
Int32

傳回

屬性

例外狀況

備註

請參見 sendto(2)。

Java 文件 android.system.Os.sendto(java.io.FileDescriptor, java.nio.ByteBuffer, int, java.net.InetAddress, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

請參見 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

參數

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

傳回

屬性

備註

請參見 sendto(2)。

Java 文件 android.system.Os.sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.SocketAddress)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

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

請參見 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

參數

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

傳回

屬性

例外狀況

備註

請參見 sendto(2)。

Java 文件 android.system.Os.sendto(java.io.FileDescriptor, byte[], int, int, int, java.net.InetAddress, int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於