Sdílet prostřednictvím


Os.Connect Method

Definition

Overloads

Connect(FileDescriptor, SocketAddress)

See connect(2).

Connect(FileDescriptor, InetAddress, Int32)

See connect(2).

Connect(FileDescriptor, SocketAddress)

See connect(2).

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

Parameters

address
SocketAddress
Attributes

Remarks

See connect(2).

Java documentation for android.system.Os.connect(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

Connect(FileDescriptor, InetAddress, Int32)

See connect(2).

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

Parameters

address
InetAddress
port
Int32
Attributes

Exceptions

Remarks

See connect(2).

Java documentation for android.system.Os.connect(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