Java.Net.SocketImpl.Close Method
Closes this socket.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
protected abstract void Close ()

Exceptions

TypeReason
Java.IO.IOExceptionif an error occurs while closing this socket.

Remarks

Closes this socket. This makes later access invalid.

[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