Language

Os.Getpeername(FileDescriptor) Method

Definition

[Android.Runtime.Register("getpeername", "(Ljava/io/FileDescriptor;)Ljava/net/SocketAddress;", "")]
public static Java.Net.SocketAddress? Getpeername(Java.IO.FileDescriptor? fd);
[<Android.Runtime.Register("getpeername", "(Ljava/io/FileDescriptor;)Ljava/net/SocketAddress;", "")>]
static member Getpeername : Java.IO.FileDescriptor -> Java.Net.SocketAddress

Parameters

fd
FileDescriptor

The connected socket to inspect.

Returns

The address of the socket's remote endpoint.

Attributes

Exceptions

Remarks

See getpeername(2).

Java documentation for android.system.Os.getpeername(java.io.FileDescriptor).

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