ServerSocket
interface ServerSocket :
ASocket,
ABoundSocket,
Acceptable<Socket>
Represents a server bound socket ready for accepting connections
Inherited Properties
abstract val localAddress: NetworkAddress Local socket address. Could throw an exception if no address bound yet. |
|
abstract val socketContext: Job Represents a socket lifetime, completes at socket closure |
Inherited Functions
abstract suspend fun accept(): S accepts socket connection or suspends if none yet available. |
|
open fun dispose(): Unit |
Extension Properties
Check if the socket is closed |
Extension Functions
Await until socket close |