Sdílet prostřednictvím


Os.Bind Method

Definition

Overloads

Bind(FileDescriptor, SocketAddress)

See bind(2).

Bind(FileDescriptor, InetAddress, Int32)

See bind(2).

Bind(FileDescriptor, SocketAddress)

See bind(2).

[Android.Runtime.Register("bind", "(Ljava/io/FileDescriptor;Ljava/net/SocketAddress;)V", "", ApiSince=29)]
public static void Bind (Java.IO.FileDescriptor fd, Java.Net.SocketAddress address);
[<Android.Runtime.Register("bind", "(Ljava/io/FileDescriptor;Ljava/net/SocketAddress;)V", "", ApiSince=29)>]
static member Bind : Java.IO.FileDescriptor * Java.Net.SocketAddress -> unit

Parameters

address
SocketAddress
Attributes

Remarks

See bind(2).

Java documentation for android.system.Os.bind(java.io.FileDescriptor, 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

Bind(FileDescriptor, InetAddress, Int32)

See bind(2).

[Android.Runtime.Register("bind", "(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V", "")]
public static void Bind (Java.IO.FileDescriptor? fd, Java.Net.InetAddress? address, int port);
[<Android.Runtime.Register("bind", "(Ljava/io/FileDescriptor;Ljava/net/InetAddress;I)V", "")>]
static member Bind : Java.IO.FileDescriptor * Java.Net.InetAddress * int -> unit

Parameters

address
InetAddress
port
Int32
Attributes

Exceptions

Remarks

See bind(2).

Java documentation for android.system.Os.bind(java.io.FileDescriptor, 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