AConnectedSocket

interface AConnectedSocket : AWritable

Represent a connected socket

Functions

Link copied to clipboard
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

Properties

Link copied to clipboard
abstract val remoteAddress: NetworkAddress

Remote socket address. Could throw an exception if the peer is not yet connected or already disconnected.

Inheritors

Link copied to clipboard
Link copied to clipboard