# TcpStreamSocketKtorBase

abstract class TcpStreamSocketKtorBase(host: String, port: Int) : TcpStreamSocket

#### Inheritors

TcpStreamSocketKtor

## Constructors

TcpStreamSocketKtorBase
Link copied to clipboard
constructor(host: String, port: Int)

## Functions

close
Link copied to clipboard
open suspend override fun close()
connect
Link copied to clipboard
open suspend override fun connect()
flush
Link copied to clipboard
open suspend override fun flush()
isConnected
Link copied to clipboard
open override fun isConnected(): Boolean
isReachable
Link copied to clipboard
open override fun isReachable(): Boolean
onConnectSocket
Link copied to clipboard
abstract suspend fun onConnectSocket(timeout: Long): ReadWriteSocket
read
Link copied to clipboard
open suspend override fun read(bytes: ByteArray)
open suspend override fun read(size: Int): ByteArray
readLine
Link copied to clipboard
open suspend override fun readLine(): String?
write
Link copied to clipboard
open suspend override fun write(bytes: ByteArray)
open suspend override fun write(b: Int)
open suspend override fun write(string: String)
open suspend override fun write(bytes: ByteArray, offset: Int, size: Int)