ServerSocketChannel.Socket 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.
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
A server socket associated with this channel
- Attributes
Remarks
Retrieves a server socket associated with this channel.
The returned object will not declare any public methods that are not declared in the java.net.ServerSocket
class.
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.