Java.Net.SocketImpl.Create Method
Creates a new unconnected socket.

Syntax

[Android.Runtime.Register("create", "(Z)V", "GetCreate_ZHandler")]
protected abstract void Create (bool isStreaming)

Parameters

isStreaming
defines whether the type of the new socket is streaming or datagram.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while creating the socket.

Remarks

Creates a new unconnected socket. The argument isStreaming defines whether the new socket is a streaming or a datagram socket.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1