ASocket
interface ASocket : Closeable, DisposableHandle
Base type for all async sockets
Properties
abstract val socketContext: Job Represents a socket lifetime, completes at socket closure |
Functions
open fun dispose(): Unit |
Extension Properties
Check if the socket is closed |
Extension Functions
Await until socket close |
Inheritors
Represents a socket source, for example server socket |
|
interface BoundDatagramSocket : Represents a bound datagram socket |
|
interface ConnectedDatagramSocket : Represents a connected datagram socket. |
|
Represents both readable and writable socket |
|
interface ServerSocket : Represents a server bound socket ready for accepting connections |