accept

abstract suspend fun accept(): S

Suspends until a connection is available and returns it or throws if something goes wrong.

Return

accepted socket

Throws