Share via


Os.Socket(Int32, Int32, Int32) Method

Definition

See socket(2).

[Android.Runtime.Register("socket", "(III)Ljava/io/FileDescriptor;", "")]
public static Java.IO.FileDescriptor? Socket (int domain, int type, int protocol);
[<Android.Runtime.Register("socket", "(III)Ljava/io/FileDescriptor;", "")>]
static member Socket : int * int * int -> Java.IO.FileDescriptor

Parameters

domain
Int32
type
Int32
protocol
Int32

Returns

Attributes

Exceptions

Remarks

See socket(2).

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