Java.Net.ServerSocket.Accept Method
Waits for an incoming request and blocks until the connection is opened.

Syntax

[Android.Runtime.Register("accept", "()Ljava/net/Socket;", "GetAcceptHandler")]
public virtual Socket Accept ()

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while accepting a new connection.

Remarks

Waits for an incoming request and blocks until the connection is opened. This method returns a socket object representing the just opened connection.

[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