Java.Net.Socket.Port Property
Returns the port number of the target host this socket is connected to, or 0 if this socket is not yet connected.

Syntax

[get: Android.Runtime.Register("getPort", "()I", "GetGetPortHandler")]
public virtual int Port { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Returns the port number of the target host this socket is connected to, or 0 if this socket is not yet connected.

[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