Share via


SocketImpl.LocalPort Property

Definition

Returns the value of this socket's localport field.

protected virtual int LocalPort { [Android.Runtime.Register("getLocalPort", "()I", "GetGetLocalPortHandler")] get; }
[<get: Android.Runtime.Register("getLocalPort", "()I", "GetGetLocalPortHandler")>]
member this.LocalPort : int

Property Value

the value of this socket's localport field.

Attributes

Remarks

Returns the value of this socket's localport field.

Java documentation for java.net.SocketImpl.getLocalPort().

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