SocketChannel.LocalAddress Property

Definition

Returns the socket address that this channel's socket is bound to, or null if the socket is not bound.

public abstract Java.Net.SocketAddress? LocalAddress { [Android.Runtime.Register("getLocalAddress", "()Ljava/net/SocketAddress;", "GetGetLocalAddressHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getLocalAddress", "()Ljava/net/SocketAddress;", "GetGetLocalAddressHandler", ApiSince=26)>]
member this.LocalAddress : Java.Net.SocketAddress

Property Value

The socket address that this channel's socket is bound to, or null if the socket is not bound.

Attributes

Remarks

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

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