AConnectedSocket

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

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

Extensions

Link copied to clipboard

Open a write channel, could be opened only once