SocketImpl.Port Property

Definition

Returns the value of this socket's port field.

protected virtual int Port { [Android.Runtime.Register("getPort", "()I", "GetGetPortHandler")] get; }
[<get: Android.Runtime.Register("getPort", "()I", "GetGetPortHandler")>]
member this.Port : int

Property Value

the value of this socket's port field.

Attributes

Remarks

Returns the value of this socket's port field.

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

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