isClosed

abstract suspend fun isClosed(): Boolean

Checks if the socket is closed.

Return

True if the socket is closed, false otherwise.