Udostępnij za pośrednictwem


SSLEngine.PeerPort Property

Definition

Returns the port number of the peer.

public virtual int PeerPort { [Android.Runtime.Register("getPeerPort", "()I", "GetGetPeerPortHandler")] get; }
[<get: Android.Runtime.Register("getPeerPort", "()I", "GetGetPeerPortHandler")>]
member this.PeerPort : int

Property Value

the port number of the peer, or -1 if nothing is available.

Attributes

Remarks

Returns the port number of the peer.

Note that the value is not authenticated, and should not be relied upon.

Java documentation for javax.net.ssl.SSLEngine.getPeerPort().

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