sok / Sok.Socket.TCP / TCPServerSocket / accept
suspend fun accept():
TCPClientSocket
(source)
Accept a client socket. The method will suspend until there is a client to accept
NormalCloseException
-
SocketClosedException
-
Return accepted socket