# UdpStreamSocketKtor

class UdpStreamSocketKtor(host: String, port: Int, sourcePort: Int? = null, receiveSize: Int? = null, type: UdpType = UdpType.UNICAST) : UdpStreamSocket

## Constructors

UdpStreamSocketKtor
Link copied to clipboard
constructor(host: String, port: Int, sourcePort: Int? = null, receiveSize: Int? = null, type: UdpType = UdpType.UNICAST)

## Functions

close
Link copied to clipboard
open suspend override fun close()
connect
Link copied to clipboard
open suspend override fun connect()
isConnected
Link copied to clipboard
open override fun isConnected(): Boolean
isReachable
Link copied to clipboard
open override fun isReachable(): Boolean
read
Link copied to clipboard
open suspend override fun read(): ByteArray
write
Link copied to clipboard
open suspend override fun write(bytes: ByteArray)