tuweni / org.apache.tuweni.net.coroutines / CoroutineServerSocketChannel / close

close

fun close(): Unit (source)

Overrides CoroutineNetworkChannel.close

Closes this channel.

After a channel is closed, any further attempt to invoke I/O operations upon it will cause a ClosedChannelException to be thrown.

Exceptions

IOException - If an I/O error occurs.