ServerSocketChannel.Socket Method

Definition

Retrieves a server socket associated with this channel.

[Android.Runtime.Register("socket", "()Ljava/net/ServerSocket;", "GetSocketHandler")]
public abstract Java.Net.ServerSocket? Socket ();
[<Android.Runtime.Register("socket", "()Ljava/net/ServerSocket;", "GetSocketHandler")>]
abstract member Socket : unit -> Java.Net.ServerSocket

Returns

ServerSocket

A server socket associated with this channel

Attributes

Remarks

Java documentation for java.nio.channels.ServerSocketChannel.socket().

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