UdpServer

interface UdpServer

Represents a UDP server for handling UDP connections. Implementation of the UdpServer can be changed by replacing in UdpServerCreateEvent.

Functions

Link copied to clipboard
Gets the remote address to which the UDP server is bound.
Link copied to clipboard
abstract fun start(ip: String, port: Int)
Starts the UDP server.
Link copied to clipboard
abstract fun stop()
Stops the UDP server.