Condividi tramite


SelectorProvider.OpenServerSocketChannel Method

Definition

Opens a server-socket channel.

[Android.Runtime.Register("openServerSocketChannel", "()Ljava/nio/channels/ServerSocketChannel;", "GetOpenServerSocketChannelHandler")]
public abstract Java.Nio.Channels.ServerSocketChannel? OpenServerSocketChannel ();
[<Android.Runtime.Register("openServerSocketChannel", "()Ljava/nio/channels/ServerSocketChannel;", "GetOpenServerSocketChannelHandler")>]
abstract member OpenServerSocketChannel : unit -> Java.Nio.Channels.ServerSocketChannel

Returns

The new channel

Attributes

Exceptions

if an I/O error occurs.

Remarks

Opens a server-socket channel.

Java documentation for java.nio.channels.spi.SelectorProvider.openServerSocketChannel().

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