fun createUDPEndpoint(id: String = "default", networkInterface: String = "0.0.0.0", port: Int = 9137, handler: (Message) -> Unit): Unit
(source)
Creates a new endpoint over UDP connections.
networkInterface
- the network interface to bind the endpoint to
port
- the port to serve traffic from