Java.Net.SocketImpl.LocalPort Property
Gets the local port number of this socket.

Syntax

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

Value

Documentation for this section has not yet been entered.

Remarks

Gets the local port number of this socket. The field is initialized to -1 and upon demand will go to the IP stack to get the bound value. See the class comment for the context of the local port.

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1