UdpSocket

class UdpSocket(host: String, type: UdpType, port: Int)

Created by pedro on 6/3/24.

Constructors

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

Functions

Link copied to clipboard
suspend fun close()
Link copied to clipboard
suspend fun connect()
Link copied to clipboard
suspend fun isConnected(): Boolean
Link copied to clipboard
Link copied to clipboard
suspend fun readBuffer(): ByteArray
Link copied to clipboard
suspend fun write(mpegTsPacket: MpegTsPacket): Int