accept

abstract fun accept(timeoutMillis: Int): Connection?(source)

The next connection, or null when none arrived within timeoutMillis.