connect

abstract fun connect(@NotNull ip: @NotNull String, port: Int)

Connects the UDP client to the specified IP address and port.

Parameters

ip

The IP address to connect to.

port

The port to connect to.