SocketChannel.RemoteAddress Property

Definition

Returns the remote address to which this channel's socket is connected, or null if the socket is not connected.

public abstract Java.Net.SocketAddress? RemoteAddress { [Android.Runtime.Register("getRemoteAddress", "()Ljava/net/SocketAddress;", "GetGetRemoteAddressHandler", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getRemoteAddress", "()Ljava/net/SocketAddress;", "GetGetRemoteAddressHandler", ApiSince=24)>]
member this.RemoteAddress : Java.Net.SocketAddress

Property Value

The remote address to which this channel's socket is connected, or null if the socket is not connected.

Attributes

Remarks

Java documentation for java.nio.channels.SocketChannel.getRemoteAddress().

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