SokDoc

sok / Sok.Socket.TCP / TCPClientSocket / forceClose

forceClose

fun forceClose(): Unit (source)

forcefully closes the channel without checking the writing request queue. Once the socket is closed a ForceCloseException will be passed to the exception handler and to any ongoing read method call