AsynchronousChannelProvider.OpenAsynchronousSocketChannel 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 an asynchronous socket channel.
[Android.Runtime.Register("openAsynchronousSocketChannel", "(Ljava/nio/channels/AsynchronousChannelGroup;)Ljava/nio/channels/AsynchronousSocketChannel;", "GetOpenAsynchronousSocketChannel_Ljava_nio_channels_AsynchronousChannelGroup_Handler", ApiSince=26)]
public abstract Java.Nio.Channels.AsynchronousSocketChannel? OpenAsynchronousSocketChannel (Java.Nio.Channels.AsynchronousChannelGroup? group);
[<Android.Runtime.Register("openAsynchronousSocketChannel", "(Ljava/nio/channels/AsynchronousChannelGroup;)Ljava/nio/channels/AsynchronousSocketChannel;", "GetOpenAsynchronousSocketChannel_Ljava_nio_channels_AsynchronousChannelGroup_Handler", ApiSince=26)>]
abstract member OpenAsynchronousSocketChannel : Java.Nio.Channels.AsynchronousChannelGroup -> Java.Nio.Channels.AsynchronousSocketChannel
Parameters
- group
- AsynchronousChannelGroup
The group to which the channel is bound, or null
to
bind to the default group
Returns
The new channel
- Attributes
Remarks
Opens an asynchronous socket channel.
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.