Langue

SelectorProvider.OpenSocketChannel Méthode

Définition

Ouvre un canal de socket.

[Android.Runtime.Register("openSocketChannel", "()Ljava/nio/channels/SocketChannel;", "GetOpenSocketChannelHandler")]
public abstract Java.Nio.Channels.SocketChannel? OpenSocketChannel();
[<Android.Runtime.Register("openSocketChannel", "()Ljava/nio/channels/SocketChannel;", "GetOpenSocketChannelHandler")>]
abstract member OpenSocketChannel : unit -> Java.Nio.Channels.SocketChannel

Retours

Nouveau canal

Attributs

Exceptions

si une erreur d’E/S se produit.

Remarques

Ouvre un canal de socket.

Java documentation pour java.nio.channels.spi.SelectorProvider.openSocketChannel().

Les parties de cette page sont des modifications basées sur le travail créé et partagé par le projet Android Open Source et utilisés en fonction des termes décrits dans la licence d’attribution Creative Commons 2.5.

S’applique à