Udostępnij za pośrednictwem


DatagramSocket.IsClosed Property

Definition

Returns whether the socket is closed or not.

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 whether the socket is closed or not.

Added in 1.4.

Java documentation for java.net.DatagramSocket.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