interface AConnectedSocket : AWritable
Represent a connected socket
abstract val remoteAddress: <ERROR CLASS>
Remote socket address. Could throw an exception if the peer is not yet connected or already disconnected. |
abstract fun attachForWriting(channel: ByteChannel): ReaderJob
Attach channel for writing so bytes written to the attached channel will be transmitted Only one channel could be attached |
fun AWritable.openWriteChannel(autoFlush: Boolean = false): ByteWriteChannel
Open a write channel, could be opened only once |
interface ConnectedDatagramSocket : ASocket, ABoundSocket, AConnectedSocket, ReadWriteSocket, DatagramReadWriteChannel
Represents a connected datagram socket. |
|
interface Socket : ReadWriteSocket, ABoundSocket, AConnectedSocket
Represents a connected socket |