Freigeben über


Socket.IsClosed Property

Definition

Returns the closed state of the socket.

public virtual bool IsClosed { [Android.Runtime.Register("isClosed", "()Z", "GetIsClosedHandler")] get; }
[<get: Android.Runtime.Register("isClosed", "()Z", "GetIsClosedHandler")>]
member this.IsClosed : bool

Property Value

true if the socket has been closed

Attributes

Remarks

Returns the closed state of the socket.

Added in 1.4.

Java documentation for java.net.Socket.isClosed().

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