DirectUDPSocketOptions

@Serializable
data class DirectUDPSocketOptions(val remoteAddr: String? = null, val remotePort: Int? = null, val localAddr: String? = null, val localPort: Int? = null, val dnsQueryType: DirectSocketDnsQueryType? = null, val sendBufferSize: Double? = null, val receiveBufferSize: Double? = null)

(undocumented in the protocol definition)

Official doc

Constructors

Link copied to clipboard
constructor(remoteAddr: String? = null, remotePort: Int? = null, localAddr: String? = null, localPort: Int? = null, dnsQueryType: DirectSocketDnsQueryType? = null, sendBufferSize: Double? = null, receiveBufferSize: Double? = null)

Properties

Link copied to clipboard

(undocumented in the protocol definition)

Link copied to clipboard
val localAddr: String? = null

(undocumented in the protocol definition)

Link copied to clipboard
val localPort: Int? = null

Unsigned int 16.

Link copied to clipboard

Expected to be unsigned integer.

Link copied to clipboard
val remoteAddr: String? = null

(undocumented in the protocol definition)

Link copied to clipboard
val remotePort: Int? = null

Unsigned int 16.

Link copied to clipboard
val sendBufferSize: Double? = null

Expected to be unsigned integer.