Socket.Close Socket.Close Method

Definition

Closes the socket.

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ();
abstract member Close : unit -> unit
override this.Close : unit -> unit

Implements

Exceptions

if an error occurs while closing the socket.

Remarks

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