Os.Accept(FileDescriptor, InetSocketAddress) 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.
See accept(2).
[Android.Runtime.Register("accept", "(Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;)Ljava/io/FileDescriptor;", "")]
public static Java.IO.FileDescriptor? Accept(Java.IO.FileDescriptor? fd, Java.Net.InetSocketAddress? peerAddress);
[<Android.Runtime.Register("accept", "(Ljava/io/FileDescriptor;Ljava/net/InetSocketAddress;)Ljava/io/FileDescriptor;", "")>]
static member Accept : Java.IO.FileDescriptor * Java.Net.InetSocketAddress -> Java.IO.FileDescriptor
Parameters
The listening socket from which to accept a connection.
- peerAddress
- InetSocketAddress
An address object that receives the remote endpoint of the accepted connection.
Returns
A new file descriptor for the accepted connection.
- Attributes
Exceptions
Remarks
See accept(2).
Java documentation for android.system.Os.accept(java.io.FileDescriptor, java.net.InetSocketAddress).
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.