TcpStreamSocket

abstract class TcpStreamSocket : StreamSocket

Created by pedro on 22/9/24.

Inheritors

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
abstract suspend fun close()
Link copied to clipboard
abstract suspend fun connect()
Link copied to clipboard
suspend fun flush()
Link copied to clipboard
abstract fun isConnected(): Boolean
Link copied to clipboard
abstract fun isReachable(): Boolean
Link copied to clipboard
suspend fun read(): Int
Link copied to clipboard
suspend fun readLine(): String?
Link copied to clipboard
suspend fun readUInt16(): Int
Link copied to clipboard
suspend fun readUInt24(): Int
Link copied to clipboard
suspend fun readUInt32(): Int
Link copied to clipboard
Link copied to clipboard
suspend fun readUntil(b: ByteArray)
Link copied to clipboard
suspend fun write(b: ByteArray): Unit?
suspend fun write(b: Int): Unit?
suspend fun write(string: String): Unit?
suspend fun write(b: ByteArray, offset: Int, size: Int): Unit?
Link copied to clipboard
suspend fun writeUInt16(b: Int)
Link copied to clipboard
suspend fun writeUInt24(b: Int)
Link copied to clipboard
suspend fun writeUInt32(b: Int)
Link copied to clipboard