SelectorProvider.OpenSocketChannel Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Opens a socket channel.
[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
Returns
The new channel
- Attributes
Exceptions
if an I/O error occurs.
Remarks
Opens a socket channel.
Java documentation for java.nio.channels.spi.SelectorProvider.openSocketChannel()
.
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.