LocalServerSocket.Accept 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.
Accepts a new connection to the socket.
[Android.Runtime.Register("accept", "()Landroid/net/LocalSocket;", "GetAcceptHandler")]
public virtual Android.Net.LocalSocket? Accept ();
[<Android.Runtime.Register("accept", "()Landroid/net/LocalSocket;", "GetAcceptHandler")>]
abstract member Accept : unit -> Android.Net.LocalSocket
override this.Accept : unit -> Android.Net.LocalSocket
Returns
a socket representing the new connection.
- Attributes
Exceptions
Remarks
Accepts a new connection to the socket. Blocks until a new connection arrives.
Java documentation for android.net.LocalServerSocket.accept()
.
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.