Share via


SocketImpl.Accept(SocketImpl) Method

Definition

Accepts a connection.

[Android.Runtime.Register("accept", "(Ljava/net/SocketImpl;)V", "GetAccept_Ljava_net_SocketImpl_Handler")]
protected abstract void Accept (Java.Net.SocketImpl? s);
[<Android.Runtime.Register("accept", "(Ljava/net/SocketImpl;)V", "GetAccept_Ljava_net_SocketImpl_Handler")>]
abstract member Accept : Java.Net.SocketImpl -> unit

Parameters

s
SocketImpl

the accepted connection.

Attributes

Exceptions

if an error occurs while accepting a new connection.

Remarks

Accepts a connection.

Java documentation for java.net.SocketImpl.accept(java.net.SocketImpl).

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