UdpPacket

class UdpPacket(val data: ByteArray, val host: String, val port: Int)

A received datagram: payload data and the sender's host:port.

Constructors

Link copied to clipboard
constructor(data: ByteArray, host: String, port: Int)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val port: Int