Os.Sendto 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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)。
本頁部分內容為基於 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)。
本頁部分內容為基於 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)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。