TcpSocket

class TcpSocket(host: String, port: Int, secured: Boolean, certificates: TrustManager?) : RtmpSocket

Created by pedro on 5/4/22.

Constructors

Link copied to clipboard
constructor(host: String, port: Int, secured: Boolean, certificates: TrustManager?)

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun connect()
Link copied to clipboard
open suspend override fun flush(isPacket: Boolean)
Link copied to clipboard
open override fun isConnected(): Boolean
Link copied to clipboard
open override fun isReachable(): Boolean
Link copied to clipboard
open suspend override fun read(): Int
Link copied to clipboard
open suspend override fun readUInt16(): Int
Link copied to clipboard
open suspend override fun readUInt24(): Int
Link copied to clipboard
open suspend override fun readUInt32(): Int
Link copied to clipboard
open suspend override fun readUInt32LittleEndian(): Int
Link copied to clipboard
open suspend override fun readUntil(b: ByteArray)
Link copied to clipboard
open suspend override fun write(b: ByteArray)
open suspend override fun write(b: Int)
open suspend override fun write(b: ByteArray, offset: Int, size: Int)
Link copied to clipboard
open suspend override fun writeUInt16(b: Int)
Link copied to clipboard
open suspend override fun writeUInt24(b: Int)
Link copied to clipboard
open suspend override fun writeUInt32(b: Int)
Link copied to clipboard
open suspend override fun writeUInt32LittleEndian(b: Int)