Java.Net.ServerSocket.Close Method
Closes this server socket and its implementation.

Syntax

[Android.Runtime.Register("close", "()V", "GetCloseHandler")]
public virtual void Close ()

Exceptions

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

Remarks

Closes this server socket and its implementation. Any attempt to connect to this socket thereafter will fail.

[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