Java.Net.Socket.Channel Property
Returns this socket's SocketChannel, if one exists.

Syntax

[get: Android.Runtime.Register("getChannel", "()Ljava/nio/channels/SocketChannel;", "GetGetChannelHandler")]
public virtual Java.Nio.Channels.SocketChannel Channel { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns this socket's SocketChannel, if one exists. A channel is available only if this socket wraps a channel. (That is, you can go from a channel to a socket and back again, but you can't go from an arbitrary socket to a channel.) In practice, this means that the socket must have been created by Java.Nio.Channels.ServerSocketChannel.Accept or Java.Nio.Channels.SocketChannel.Open.

[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